Show More
@@ -121,7 +121,12 b' class Command(object):' | |||
|
121 | 121 | for k, values in sorted(self.opts.iteritems()): |
|
122 | 122 | for v in values: |
|
123 | 123 | if v: |
|
124 |
|
|
|
124 | if isinstance(v, int): | |
|
125 | fmt = ' %s %d' | |
|
126 | else: | |
|
127 | fmt = ' %s %s' | |
|
128 | ||
|
129 | cmd += fmt % (k, v) | |
|
125 | 130 | else: |
|
126 | 131 | cmd += " %s" % (k,) |
|
127 | 132 | if self.args: |
General Comments 0
You need to be logged in to leave comments.
Login now