aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/git.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-29 06:40:38 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-29 06:40:38 -0500
commit8bf8e2271f8273bdba3f8327d08b505a0fae11d5 (patch)
treeba3f63b674c1ef7b2585aba51ba7b0fb988dc163 /libbe/storage/vcs/git.py
parentaba3a8b27063a1765c49194cb7f9aba8b277d92f (diff)
downloadbugseverywhere-8bf8e2271f8273bdba3f8327d08b505a0fae11d5.tar.gz
Adjust Git._vcs_isdir() to Python-2.5-compatible syntax
Diffstat (limited to 'libbe/storage/vcs/git.py')
-rw-r--r--libbe/storage/vcs/git.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/storage/vcs/git.py b/libbe/storage/vcs/git.py
index 35dcd68..2280665 100644
--- a/libbe/storage/vcs/git.py
+++ b/libbe/storage/vcs/git.py
@@ -125,7 +125,8 @@ class Git(base.VCS):
def _vcs_isdir(self, path, revision):
arg = '%s:%s' % (revision,path)
args = ['ls-tree', arg]
- status,output,error = self._u_invoke_client(*args, expect=(0,128))
+ kwargs = {'expect':(0,128)}
+ status,output,error = self._u_invoke_client(*args, **kwargs)
if status != 0:
if 'not a tree object' in error:
return False