Merge branch 'master' of github.com:web2py/web2py

This commit is contained in:
Michele Comitini
2012-05-16 22:40:38 +02:00
2 changed files with 7 additions and 6 deletions

View File

@@ -1 +1 @@
Version 2.00.0 (2012-05-15 09:05:35) dev
Version 2.00.0 (2012-05-16 11:15:52) dev

View File

@@ -896,11 +896,12 @@ def start(cron=True):
if hasattr(options,key):
setattr(options,key,getattr(options2,key))
#if not os.path.exists('logging.conf'):
# import shutil
# sys.stdout.write("Copying logging.conf.example to logging.conf ... ")
# shutil.copyfile('logging.example.conf', 'logging.conf')
# sys.stdout.write("OK\n")
if not os.path.exists('logging.conf') and \
os.path.exists('logging.example.conf'):
import shutil
sys.stdout.write("Copying logging.conf.example to logging.conf ... ")
shutil.copyfile('logging.example.conf', 'logging.conf')
sys.stdout.write("OK\n")
# ## if -T run doctests (no cron)
if hasattr(options,'test') and options.test: