aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-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