소스 검색

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"