Merge ~cristiangsp/launchpad:fixing-e402-fix into launchpad:master

Proposed by Cristian Gonzalez
Status: Merged
Approved by: Cristian Gonzalez
Approved revision: 5f38d8e030e381747c54104c62197c274eeb4a84
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cristiangsp/launchpad:fixing-e402-fix
Merge into: launchpad:master
Diff against target: 18 lines (+2/-1)
1 file modified
lib/lp/codehosting/puller/ (+2/-1)
Reviewer Review Type Date Requested Status
Colin Watson Approve
Review via email:

Commit message

Skipping E402 in puller/

Description of the change

Skipping E402 in puller/

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/codehosting/puller/ b/lib/lp/codehosting/puller/
2index e1582ed..f904519 100644
3--- a/lib/lp/codehosting/puller/
4+++ b/lib/lp/codehosting/puller/
5@@ -10,13 +10,14 @@ import datetime
6 import pytz
7 from twisted.internet import defer
9-from lp.codehosting.puller.scheduler import LockError
11 def get_lock_id_for_branch_id(branch_id):
12 """Return the lock id that should be used for a branch with the passed id.
13 """
14 return 'worker-for-branch-%s@supermirror' % (branch_id,)
16+from lp.codehosting.puller.scheduler import LockError # noqa: E402
18 UTC = pytz.timezone('UTC')


People subscribed via source and target branches

to status/vote changes: