Преглед на файлове

Bugfix: cmd_reset could not determine the mode

Michael K преди 11 години
родител
ревизия
053ad0e08c
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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"