diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-29 06:40:38 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-29 06:40:38 -0500 |
commit | 8bf8e2271f8273bdba3f8327d08b505a0fae11d5 (patch) | |
tree | ba3f63b674c1ef7b2585aba51ba7b0fb988dc163 /libbe/storage/vcs/git.py | |
parent | aba3a8b27063a1765c49194cb7f9aba8b277d92f (diff) | |
download | bugseverywhere-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.py | 3 |
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 |