~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/update-sourcecode

  • Committer: Jelmer Vernooij
  • Date: 2011-05-31 10:06:55 UTC
  • mto: This revision was merged to the branch mainline in revision 13143.
  • Revision ID: jelmer@canonical.com-20110531100655-86gwqf13y5th39ys
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