~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/update-sourcecode

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-05-31 16:26:40 UTC
  • mfrom: (13141.1.1 fix-devscripts-clash)
  • Revision ID: launchpad@pqm.canonical.com-20110531162640-gtumks7od3zo4jor
[r=allenap][bug=790560] In update-sourcecode,
        add lib/ directory to the beginning of sys.path,
        in case there are clashes with system packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
import os
9
9
import sys
10
10
 
11
 
sys.path.append(
 
11
sys.path.insert(0,
12
12
    os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib'))
13
13
 
14
14
from devscripts import sourcecode