Ver Fonte

Fix octal number literals.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Gary van der Merwe há 11 anos atrás
pai
commit
88d41e13bf
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      dulwich/tests/test_greenthreads.py

+ 1 - 1
dulwich/tests/test_greenthreads.py

@@ -54,7 +54,7 @@ skipmsg = "Gevent library is not installed"
 def create_commit(marker=None):
     blob = Blob.from_string('The blob content %s' % marker)
     tree = Tree()
-    tree.add("thefile %s" % marker, 0100644, blob.id)
+    tree.add("thefile %s" % marker, 0o100644, blob.id)
     cmt = Commit()
     cmt.tree = tree.id
     cmt.author = cmt.committer = "John Doe <john@doe.net>"