Change-Id: I2eedb2d4d8f7d27e15d9acc65adb6fa272a7d6ce
diff --git a/dulwich/objects.py b/dulwich/objects.py
--- a/dulwich/objects.py
+++ b/dulwich/objects.py
@@ -705,7 +705,6 @@
while count < l:
mode_end = text.index(' ', count)
mode_text = text[count:mode_end]
- assert mode_text[0] != '0'
try:
mode = int(mode_text, 8)
except ValueError:
_______________________________________________
Mailing list: https://launchpad.net/~dulwich-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dulwich-users
More help : https://help.launchpad.net/ListHelp