mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Convert test-moulinette in python3
This commit is contained in:
parent
5ffe6a4b8c
commit
a1b1f74ce9
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/python
|
||||
#! /usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
|
@ -163,7 +163,7 @@ def _init_moulinette(debug=False, quiet=False):
|
|||
# Create log directory
|
||||
if not os.path.isdir(LOG_DIR):
|
||||
try:
|
||||
os.makedirs(LOG_DIR, 0750)
|
||||
os.makedirs(LOG_DIR, 0o750)
|
||||
except os.error as e:
|
||||
_die(str(e))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue