From f32c8e06506727f1fe2182376949e9ba8d333ace Mon Sep 17 00:00:00 2001 From: Jan Oliver Oelerich Date: Tue, 19 Jan 2016 10:17:50 +0100 Subject: [PATCH] reverted .gitignore and fixed indents of sge.py --- .gitignore | 1 - i3pystatus/sge.py | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a14df7b..89a63b8 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,3 @@ dist/* *~ .i3pystatus-* ci-build -.idea/ diff --git a/i3pystatus/sge.py b/i3pystatus/sge.py index 5bb35cf..578a6bd 100644 --- a/i3pystatus/sge.py +++ b/i3pystatus/sge.py @@ -26,8 +26,9 @@ class SGETracker(IntervalModule): color = "#ffffff" def parse_qstat_xml(self): - xml = subprocess.check_output("ssh {0} \"qstat -f -xml\"".format(self.ssh), stderr=subprocess.STDOUT, - shell=True) + xml = subprocess.check_output("ssh {0} \"qstat -f -xml\"".format(self.ssh), + stderr=subprocess.STDOUT, + shell=True) root = etree.fromstring(xml) jobs = root.xpath('//job_info/job_info/job_list')