diff options
author | Clark Williams <williams@redhat.com> | 2010-08-23 14:25:57 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2010-08-23 14:25:57 -0500 |
commit | 7e8eb178452cc8beaf6db35cd40294ac2582d08b (patch) | |
tree | ba433ac9d22eedc5b4a4bb6560a987712710a91f | |
parent | 7cc45dee6027b29c1cbd8ee76a9effea2d1b69ae (diff) | |
download | rteval-7e8eb178452cc8beaf6db35cd40294ac2582d08b.tar.gz rteval-7e8eb178452cc8beaf6db35cd40294ac2582d08b.tar.xz rteval-7e8eb178452cc8beaf6db35cd40294ac2582d08b.zip |
clean up text portion of 'command_line' tag in XML
Return None if there were no jobs, otherwise return the command
line used to start hackbench
Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r-- | rteval/hackbench.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rteval/hackbench.py b/rteval/hackbench.py index c705be0..4083187 100644 --- a/rteval/hackbench.py +++ b/rteval/hackbench.py @@ -115,7 +115,8 @@ class Hackbench(load.Load): os.close(err) def genxml(self, x): - x.taggedvalue('command_line', ' '.join(self.args), {'name':'hackbench', 'run': self.jobs and '1' or '0'}) + x.taggedvalue('command_line', self.jobs and ' '.join(self.args) or None, + {'name':'hackbench', 'run': self.jobs and '1' or '0'}) def create(params = {}): return Hackbench(params) |