Only in Twisted-Eval: build
Only in Twisted-Eval/twisted: __init__.pyc
Only in Twisted-Eval/twisted: _version.pyc
Only in Twisted-Eval/twisted: copyright.pyc
Only in Twisted-Eval/twisted/python: __init__.pyc
Only in Twisted-Eval/twisted/python: compat.pyc
Only in Twisted-Eval/twisted/python: dist.pyc
Only in Twisted-Eval/twisted/python: versions.pyc
diff -ur Twisted/twisted/test/test_paths.py Twisted-Eval/twisted/test/test_paths.py
|
old
|
new
|
|
| 561 | 561 | for u in range(0, 8): |
| 562 | 562 | for g in range(0, 8): |
| 563 | 563 | for o in range(0, 8): |
| 564 | | perm = filepath.Permissions(eval("0o%d%d%d" % (u, g, o))) |
| | 564 | perm = filepath.Permissions(int("0o%d%d%d" % (u, g, o), 8)) |
| 565 | 565 | self.assertEqual(perm.shorthand(), |
| 566 | 566 | ''.join(x.shorthand() for x in ( |
| 567 | 567 | perm.user, perm.group, perm.other))) |