Skip to content

Commit 30472cf

Browse files
committed
removed some unused stuff
1 parent ae54e18 commit 30472cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/git_python/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ def method_missing(self, method, *args, **kwargs):
7474
str
7575
"""
7676
opt_args = self.transform_kwargs(**kwargs)
77-
ext_args = map(lambda a: (a == '--') and a or "%s" % a, args)
78-
args = opt_args + ext_args
77+
args = opt_args + list(args)
7978

8079
call = ['git-'+dashify(method)]
8180
call.extend(args)
81+
8282
stdout_value = self.execute(call)
8383
return stdout_value

0 commit comments

Comments
 (0)