We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentdb0dfa0 commit9ec2709Copy full SHA for 9ec2709
git/cmd.py
@@ -125,7 +125,7 @@ def dashify(string):
125
126
127
defslots_to_dict(self,exclude=()):
128
-returndict((s,getattr(self,s))forsinself.__slots__ifsnotinexclude)
+return{s:getattr(self,s)forsinself.__slots__ifsnotinexclude}
129
130
131
defdict_to_slots_and__excluded_are_none(self,d,excluded=()):
@@ -972,8 +972,8 @@ def _call_process(self, method, *args, **kwargs):
972
:return: Same as ``execute``"""
973
# Handle optional arguments prior to calling transform_kwargs
974
# otherwise these'll end up in args, which is bad.
975
-exec_kwargs=dict((k,v)fork,vinkwargs.items()ifkinexecute_kwargs)
976
-opts_kwargs=dict((k,v)fork,vinkwargs.items()ifknotinexecute_kwargs)
+exec_kwargs={k:vfork,vinkwargs.items()ifkinexecute_kwargs}
+opts_kwargs={k:vfork,vinkwargs.items()ifknotinexecute_kwargs}
977
978
insert_after_this_arg=opts_kwargs.pop('insert_kwargs_after',None)
979