use os.path.abspath to get the directory

This commit is contained in:
Sebastien Bacher 2007-07-27 10:46:10 +02:00
parent 03e34ebc0e
commit 48bef64226

View File

@ -15,7 +15,7 @@ def main():
print >> sys.stderr, usage print >> sys.stderr, usage
sys.exit(1) sys.exit(1)
directory = os.path.abspath(os.path.expanduser(sys.argv[1])) directory = os.path.abspath(sys.argv[1]))
team = sys.argv[2] team = sys.argv[2]
operation_type = "branch" operation_type = "branch"
if len(sys.argv) == 4: if len(sys.argv) == 4: