~ubuntu-core-dev/update-manager/main

« back to all changes in this revision

Viewing changes to debian/source_update-manager.py

  • Committer: Balint Reczey
  • Date: 2018-10-01 15:56:40 UTC
  • mto: This revision was merged to the branch mainline in revision 2842.
  • Revision ID: balint.reczey@canonical.com-20181001155640-8okyjf48fx7oq0gv
Ignore PEP 8 W503 instead of E502 and drop many added backslashes

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    elif sp.returncode == 10:
28
28
        res = out.strip()
29
29
    else:
30
 
        res = (b'Error: command ' + str(command).encode() \
31
 
               + b' failed with exit code ' \
 
30
        res = (b'Error: command ' + str(command).encode()
 
31
               + b' failed with exit code '
32
32
               + str(sp.returncode).encode() + b': ' + out)
33
33
    return res
34
34