Merge lp:~tdaitx/byobu/lp-1711026-fix-pep8-E722 into lp:byobu
Status: | Merged |
---|---|
Merged at revision: | 2561 |
Proposed branch: | lp:~tdaitx/byobu/lp-1711026-fix-pep8-E722 |
Merge into: | lp:byobu |
Diff against target: |
128 lines (+14/-14) 2 files modified
usr/lib/byobu/include/config.py.in (+10/-10) usr/lib/byobu/include/select-session.py (+4/-4) |
To merge this branch: | bzr merge lp:~tdaitx/byobu/lp-1711026-fix-pep8-E722 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dustin Kirkland | Pending | ||
Review via email: mp+329168@code.launchpad.net |
Description of the change
Byobu currently FTBFS on artful during pep8 verification due to the newly introduced E722 - ie. a 'try:/except:' block with a bare except that should be replaced by a 'try:except Exception:' block.
This patch fixes all bare except: currently in use in byobu.
Log error from build [1]:
# Check python syntax
pep8 --verbose --repeat --ignore W191,E501 usr/lib/
checking usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
checking usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
debian/rules:6: recipe for target 'override_
make[1]: *** [override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'