removed some unused stuff
authorFlorian Apolloner <florian@apolloner.eu>
Tue, 20 May 2008 21:43:56 +0000 (23:43 +0200)
committerFlorian Apolloner <florian@apolloner.eu>
Tue, 20 May 2008 21:43:56 +0000 (23:43 +0200)
lib/git_python/git.py

index 25cd1cce114c7db946f235ac8fb33e849811129e..8711c1fbb68d70bd9686962a39b87f2b6e6eb54e 100644 (file)
@@ -74,10 +74,10 @@ class Git(MethodMissingMixin):
             str
         """
         opt_args = self.transform_kwargs(**kwargs)
-        ext_args = map(lambda a: (a == '--') and a or "%s" % a, args)
-        args = opt_args + ext_args
+        args = opt_args + list(args)
 
         call = ['git-'+dashify(method)]
         call.extend(args)
+
         stdout_value = self.execute(call)
         return stdout_value