fixed if False in widget.py, thanks Niphlod
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.6.0-development+timestamp.2013.08.26.06.04.21
|
Version 2.6.0-development+timestamp.2013.08.26.16.56.15
|
||||||
|
|||||||
+3
-3
@@ -1100,11 +1100,11 @@ def start(cron=True):
|
|||||||
if hasattr(options, key):
|
if hasattr(options, key):
|
||||||
setattr(options, key, getattr(options2, key))
|
setattr(options, key, getattr(options2, key))
|
||||||
|
|
||||||
if False and not os.path.exists('logging.conf') and \
|
logfile0 = os.path.join('extras','examples','logging.example.conf')
|
||||||
os.path.exists('logging.example.conf'):
|
if not os.path.exists('logging.conf') and os.path.exists(logfile0):
|
||||||
import shutil
|
import shutil
|
||||||
sys.stdout.write("Copying logging.conf.example to logging.conf ... ")
|
sys.stdout.write("Copying logging.conf.example to logging.conf ... ")
|
||||||
shutil.copyfile('logging.example.conf', 'logging.conf')
|
shutil.copyfile('logging.example.conf', logfile0)
|
||||||
sys.stdout.write("OK\n")
|
sys.stdout.write("OK\n")
|
||||||
|
|
||||||
# ## if -T run doctests (no cron)
|
# ## if -T run doctests (no cron)
|
||||||
|
|||||||
Reference in New Issue
Block a user