Merge lp:~dobey/ubuntuone-client/pypath into lp:ubuntuone-client

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 1399
Merged at revision: 1399
Proposed branch: lp:~dobey/ubuntuone-client/pypath
Merge into: lp:ubuntuone-client
Diff against target: 16 lines (+3/-0)
1 file modified
contrib/check-reactor-import (+3/-0)
To merge this branch: bzr merge lp:~dobey/ubuntuone-client/pypath
Reviewer Review Type Date Requested Status
Mike McCracken (community) Approve
Review via email: mp+168549@code.launchpad.net

Commit message

Add the current directory to sys.path for the reactor check script.

To post a comment you must log in.
Revision history for this message
Mike McCracken (mikemc) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'contrib/check-reactor-import'
2--- contrib/check-reactor-import 2013-06-10 19:27:21 +0000
3+++ contrib/check-reactor-import 2013-06-10 21:24:27 +0000
4@@ -40,9 +40,12 @@
5
6 import __builtin__
7
8+import os
9 import sys
10 import traceback
11
12+sys.path.append(os.path.abspath(os.getcwd()))
13+
14
15 def fake_import(*args, **kwargs):
16 """A wrapper for __import__ that dies when importing reactor."""

Subscribers

People subscribed via source and target branches