Needed for python3.
This preserves current behaviour, but since I get no test failures if I
just chop of the leading 0 and make it a normal int there's a good
chance there's underlying breakage.
Signed-off-by: Julien Goodwin <jgoodwin@studio442.com.au>
[rlb@defaultvalue.org: adjust commit message summary]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
def fake_validate(*l):
for i in l:
for e in i:
- e.validate(0100644, index.FAKE_SHA)
+ e.validate(0o100644, index.FAKE_SHA)
e.repack()
def eget(l, ename):