mirror of https://github.com/zulip/zulip.git
check-mirroring: Make root_path and option (with new default).
(imported from commit df15d089f234bfe5373fc3fed95eb2f3b3ee42b2)
This commit is contained in:
parent
a83ecc0618
commit
bb3f030f7e
|
@ -5,10 +5,6 @@ import optparse
|
|||
import os
|
||||
import random
|
||||
|
||||
root_path = "/mit/tabbott/for_friends"
|
||||
sys.path.append(root_path + "/python-zephyr")
|
||||
sys.path.append(root_path + "/python-zephyr/build/lib.linux-x86_64-2.6/")
|
||||
|
||||
parser = optparse.OptionParser()
|
||||
parser.add_option('--verbose',
|
||||
dest='verbose',
|
||||
|
@ -18,8 +14,16 @@ parser.add_option('--site',
|
|||
dest='site',
|
||||
default="https://humbughq.com",
|
||||
action='store')
|
||||
parser.add_option('--root-path',
|
||||
dest='root_path',
|
||||
default="/home/humbug",
|
||||
action='store')
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
sys.path[:0] = [os.path.join(options.root_path, "python-zephyr"),
|
||||
os.path.join(options.root_path, "python-zephyr/build/lib.linux-x86_64-2.6/"),
|
||||
options.root_path]
|
||||
|
||||
mit_user = 'tabbott/extra@ATHENA.MIT.EDU'
|
||||
humbug_user = 'tabbott/extra@mit.edu'
|
||||
|
||||
|
|
Loading…
Reference in New Issue