removed copy of logging.conf because default logging.example.conf breaks web2py.
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-05-14 14:28:31) dev
|
Version 2.00.0 (2012-05-15 09:05:35) dev
|
||||||
|
|||||||
+5
-5
@@ -896,11 +896,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 not os.path.exists('logging.conf'):
|
#if not os.path.exists('logging.conf'):
|
||||||
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', 'logging.conf')
|
||||||
sys.stdout.write("OK\n")
|
# sys.stdout.write("OK\n")
|
||||||
|
|
||||||
# ## if -T run doctests (no cron)
|
# ## if -T run doctests (no cron)
|
||||||
if hasattr(options,'test') and options.test:
|
if hasattr(options,'test') and options.test:
|
||||||
|
|||||||
Reference in New Issue
Block a user