fixed if False in widget.py, thanks Niphlod

This commit is contained in:
mdipierro
2013-08-26 16:57:08 -05:00
parent 6b5c8aab83
commit 97abd5f3b0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
View File
@@ -1100,11 +1100,11 @@ def start(cron=True):
if hasattr(options, key):
setattr(options, key, getattr(options2, key))
if False and not os.path.exists('logging.conf') and \
os.path.exists('logging.example.conf'):
logfile0 = os.path.join('extras','examples','logging.example.conf')
if not os.path.exists('logging.conf') and os.path.exists(logfile0):
import shutil
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")
# ## if -T run doctests (no cron)