Merge ~cjwatson/launchpad:flake8-e501 into launchpad:master

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: 4fa00bfb537aec957efec26133ab8eacd4af0efe
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:flake8-e501
Merge into: launchpad:master
Diff against target: 15 lines (+2/-2)
1 file modified
lib/lp/translations/scripts/language_pack.py (+2/-2)
Reviewer Review Type Date Requested Status
Cristian Gonzalez (community) Approve
Review via email: mp+406654@code.launchpad.net

Commit message

flake8: Fix E501 line too long

Description of the change

Introduced by recent lint-fixing.

To post a comment you must log in.
Revision history for this message
Cristian Gonzalez (cristiangsp) wrote :

Looks good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/translations/scripts/language_pack.py b/lib/lp/translations/scripts/language_pack.py
2index e70ab7d..a514671 100644
3--- a/lib/lp/translations/scripts/language_pack.py
4+++ b/lib/lp/translations/scripts/language_pack.py
5@@ -264,8 +264,8 @@ def export_language_pack(distribution_name, series_name, logger,
6 logger.error('Uploading to the Librarian failed: %s', e)
7 return None
8 except Exception:
9- # Generic exception statements are used in order to prevent premature
10- # termination of the script.
11+ # Generic exception statements are used in order to prevent
12+ # premature termination of the script.
13 logger.exception(
14 'Uncaught exception while uploading to the Librarian')
15 return None

Subscribers

People subscribed via source and target branches

to status/vote changes: