~rsalveti/linaro-image-tools/generic-hwpack-oe

« back to all changes in this revision

Viewing changes to linaro_image_tools/cmd_runner.py

  • Committer: Loïc Minier
  • Date: 2012-06-08 08:23:11 UTC
  • mfrom: (523.1.14 pep8-fixes)
  • Revision ID: loic.minier@linaro.org-20120608082311-7zp7ohswi8crydz9
Merge lp:~lool/linaro-image-tools/pep8-fixes; PEP8 test and compliance fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
 
73
73
    def __init__(self, args, env=None, **kwargs):
74
74
        self._my_args = args
75
 
        self.except_on_cmd_fail=True
 
75
        self.except_on_cmd_fail = True
76
76
        if env is None:
77
77
            env = os.environ.copy()
78
78
        env['LC_ALL'] = 'C'
118
118
        if self.stderr:
119
119
            message += '\nstderr was\n{0}'.format(self.stderr)
120
120
 
121
 
        return message
 
 
b'\\ No newline at end of file'
 
121
        return message