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/__init__.py (+2/-1)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+406656@code.launchpad.net

Commit message

Skipping E402 in puller/__init__.py

Description of the change

Skipping E402 in puller/__init__.py

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
diff --git a/lib/lp/codehosting/puller/__init__.py b/lib/lp/codehosting/puller/__init__.py
index e1582ed..f904519 100644
--- a/lib/lp/codehosting/puller/__init__.py
+++ b/lib/lp/codehosting/puller/__init__.py
@@ -10,13 +10,14 @@ import datetime
10import pytz10import pytz
11from twisted.internet import defer11from twisted.internet import defer
1212
13from lp.codehosting.puller.scheduler import LockError
1413
15def get_lock_id_for_branch_id(branch_id):14def get_lock_id_for_branch_id(branch_id):
16 """Return the lock id that should be used for a branch with the passed id.15 """Return the lock id that should be used for a branch with the passed id.
17 """16 """
18 return 'worker-for-branch-%s@supermirror' % (branch_id,)17 return 'worker-for-branch-%s@supermirror' % (branch_id,)
1918
19from lp.codehosting.puller.scheduler import LockError # noqa: E402
20
20UTC = pytz.timezone('UTC')21UTC = pytz.timezone('UTC')
2122
2223

Subscribers

People subscribed via source and target branches

to status/vote changes: