Hi all,

I got a very simple use case
ShellSequence ( commands = [ ShellArg(command='touch', 
Interpolate('%prop:whatever)s.lck')), ...

This leads to an exception caused by ShellArg, as follows:

        if isinstance(self.command, list):
            if not all([isinstance(x, str) for x in self.command]):
                config.error("%s must only have strings in it" %
                             (self.command,))

Giving the error message in the log:
2017-07-07 12:35:40+0200 [-] After rendering, ShellSequence `commands` is 
invalid: ['touch', u'this_is_a_valid_string.lck'] must only have strings in it.

I wonder what is going wrong here and why is my command not a string?

Best regards,
Falk
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to