Follow isort formatting
issue10928
This commit is contained in:
1 parent
d608167f04
commit
a0bfbfa255
171 files changed
+567
-567
No files matched your search
+2
-2
@@ -25,10 +25,10 @@ if options.coroutine:
|
||||
from gevent import monkey
|
||||
monkey.patch_all()
|
||||
|
||||
from trytond.modules import get_module_info, get_module_list
|
||||
from trytond.pool import Pool
|
||||
# Import trytond things after it is configured
|
||||
from trytond.wsgi import app
|
||||
from trytond.pool import Pool
|
||||
from trytond.modules import get_module_list, get_module_info
|
||||
|
||||
with commandline.pidfile(options):
|
||||
Pool.start()
|
||||
|
||||
+1
-1
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import sys
|
||||
import os
|
||||
import sys
|
||||
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
'..', '..', 'trytond')))
|
||||
|
||||
+1
-1
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import sys
|
||||
import os
|
||||
import sys
|
||||
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
'..', '..', 'trytond')))
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import sys
|
||||
import os
|
||||
import sys
|
||||
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
'..', '..', 'trytond')))
|
||||
@@ -17,9 +17,9 @@ options = parser.parse_args()
|
||||
config.update_etc(options.configfile)
|
||||
commandline.config_log(options)
|
||||
|
||||
import trytond.cron as cron
|
||||
# Import after application is configured
|
||||
from trytond.pool import Pool
|
||||
import trytond.cron as cron
|
||||
|
||||
with commandline.pidfile(options):
|
||||
Pool.start()
|
||||
|
||||
@@ -6,7 +6,6 @@ import datetime as dt
|
||||
import math
|
||||
import os
|
||||
import sys
|
||||
|
||||
from collections import defaultdict
|
||||
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import sys
|
||||
import os
|
||||
import sys
|
||||
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
'..', '..', 'trytond')))
|
||||
@@ -17,9 +17,9 @@ options = parser.parse_args()
|
||||
config.update_etc(options.configfile)
|
||||
commandline.config_log(options)
|
||||
|
||||
import trytond.worker as worker
|
||||
# Import after application is configured
|
||||
from trytond.pool import Pool
|
||||
import trytond.worker as worker
|
||||
|
||||
with commandline.pidfile(options):
|
||||
Pool.start()
|
||||
|
||||
Reference in new issue
Block a user