From dcd7f8b46ce40e8ab8c380b70cde71acf7be0bba Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 19 Mar 2016 14:29:01 -0500 Subject: [PATCH] no more copy of the logfile, thanks Luca --- gluon/widget.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gluon/widget.py b/gluon/widget.py index 42c940fb..5fe0210a 100644 --- a/gluon/widget.py +++ b/gluon/widget.py @@ -1130,14 +1130,6 @@ def start(cron=True): if hasattr(options, key): setattr(options, key, getattr(options2, key)) - logfile0 = os.path.join('examples', 'logging.example.conf') - logfile1 = os.path.join(options.folder, 'logging.conf') - if not os.path.exists(logfile1) and os.path.exists(logfile0): - import shutil - sys.stdout.write("Copying logging.conf.example to logging.conf ... ") - shutil.copyfile(logfile0, logfile1) - sys.stdout.write("OK\n") - # ## if -T run doctests (no cron) if hasattr(options, 'test') and options.test: test(options.test, verbose=options.verbose)