octal notation 0700 -> 0o700
Use octal notation that python3 understands. Works >=python2.6 Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
@ -216,7 +216,7 @@ class SyncableAccount(Account):
|
||||
self.ui.registerthread(self)
|
||||
accountmetadata = self.getaccountmeta()
|
||||
if not os.path.exists(accountmetadata):
|
||||
os.mkdir(accountmetadata, 0700)
|
||||
os.mkdir(accountmetadata, 0o700)
|
||||
|
||||
self.remoterepos = Repository(self, 'remote')
|
||||
self.localrepos = Repository(self, 'local')
|
||||
|
Reference in New Issue
Block a user