12190.1.1
by Jonathan Lange
Always use Python 2.6 |
1 |
#!/usr/bin/python2.6 -u
|
9370.1.10
by Jonathan Lange
Add a script that updates sourcecode. |
2 |
#
|
3 |
# Copyright 2009 Canonical Ltd. This software is licensed under the
|
|
4 |
# GNU Affero General Public License version 3 (see the file LICENSE).
|
|
5 |
||
6 |
"""Update the sourcecode managed in sourcecode/."""
|
|
7 |
||
9550.12.8
by Michael Hudson
null merge trunk r9576 (which reverted merge of this branch) |
8 |
import os |
9370.1.10
by Jonathan Lange
Add a script that updates sourcecode. |
9 |
import sys |
10 |
||
14612.2.6
by William Grant
utilities |
11 |
|
13141.1.1
by Jelmer Vernooij
Add lib/ directory to the beginning of sys.path, in case there are clashes with |
12 |
sys.path.insert(0, |
9550.12.8
by Michael Hudson
null merge trunk r9576 (which reverted merge of this branch) |
13 |
os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib')) |
14 |
||
9370.1.10
by Jonathan Lange
Add a script that updates sourcecode. |
15 |
from devscripts import sourcecode |
16 |
||
17 |
||
18 |
if __name__ == '__main__': |
|
19 |
sys.exit(sourcecode.main(sys.argv)) |