diff options
author | W. Trevor King <wking@drexel.edu> | 2008-11-16 15:37:14 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2008-11-16 15:37:14 -0500 |
commit | 2b071a28a2cedab54c713948c6b6f4bd27bb45e2 (patch) | |
tree | 650c4eaca616c2c7bd0d883fabc1dda0b790db88 /libbe/git.py | |
parent | b5959aee578055431eeb80befde7272754b2b8ad (diff) | |
download | bugseverywhere-2b071a28a2cedab54c713948c6b6f4bd27bb45e2.tar.gz |
Fixed another bug in git.strip_git() (bug 0cad).
Also added git mode to test_usage.sh.
I'll go through and add modes for the other RCSs...
Diffstat (limited to 'libbe/git.py')
-rw-r--r-- | libbe/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/git.py b/libbe/git.py index 172c324..e15d773 100644 --- a/libbe/git.py +++ b/libbe/git.py @@ -26,7 +26,7 @@ def strip_git(filename): absRepoSlashedDir = os.path.join(absRepoDir,"") assert filename.startswith(absRepoSlashedDir), \ "file %s not in git repo %s" % (filename, absRepoSlashedDir) - filename = filename.lstrip(absRepoSlashedDir) + filename = filename[len(absRepoSlashedDir):] return filename def invoke_client(*args, **kwargs): |