Ticket #352 (closed defect: fixed)
buildbot.process.buildstep.RemoteShellCommand.__repr__ fails if command is a tuple with length not equal to 1
|Reported by:||exarkun||Owned by:|
def __repr__(self): return "<RemoteShellCommand '%s'>" % self.command
raises a TypeError if self.command is a tuple with length not equal to 1. It's probably risky to ever use the non-tuple form of string interpolation with a right hand argument that was given to you by someone else (ie, that you're not sure is exactly what you think it is).