catacomb/pwsafe.py: Hack around the difference in octal literal syntax.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 21 Oct 2019 17:06:31 +0000 (18:06 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 25 Nov 2019 17:43:08 +0000 (17:43 +0000)
commit18a7521a4f10a2de6d2741ef4db160374139acc6
tree799dc0e202e95b24c26636061a76f99ae5d24230
parent3200c805f073fc4a480fbbd1345c09d03f4efae4
catacomb/pwsafe.py: Hack around the difference in octal literal syntax.

Python 2.5 wants `0DIGITS', while Python 3 insists on `0oDIGITS'.  The
latter is prettier, but the difference is annoying.  We only need these
for Unix permissions, so just set up the ones we want in advance using
an explicit conversion from strings.
catacomb/pwsafe.py