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
1diff --git a/lib/lp/codehosting/puller/__init__.py b/lib/lp/codehosting/puller/__init__.py
2index e1582ed..f904519 100644
3--- a/lib/lp/codehosting/puller/__init__.py
4+++ b/lib/lp/codehosting/puller/__init__.py
5@@ -10,13 +10,14 @@ import datetime
6 import pytz
7 from twisted.internet import defer
8
9-from lp.codehosting.puller.scheduler import LockError
10
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,)
15
16+from lp.codehosting.puller.scheduler import LockError # noqa: E402
17+
18 UTC = pytz.timezone('UTC')
19
20

Subscribers

People subscribed via source and target branches

to status/vote changes: