Forráskód Böngészése

Bugfix: cmd_reset could not determine the mode

Michael K 11 éve
szülő
commit
053ad0e08c
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      bin/dulwich

+ 1 - 0
bin/dulwich

@@ -234,6 +234,7 @@ def cmd_tag(args):
 
 def cmd_reset(args):
     opts, args = getopt(args, "", ["hard", "soft", "mixed"])
+    opts = dict(opts)
     mode = ""
     if "--hard" in opts:
         mode = "hard"