we prefer format strings (makes stuff easier to read).
self.writeline('cd:6: string not in pwd: {0}'.format(params[0]))