Navigation Menu

Skip to content

Commit

Permalink
no more copy of the logfile, thanks Luca
Browse files Browse the repository at this point in the history
  • Loading branch information
mdipierro committed Mar 19, 2016
1 parent 7fd67c4 commit dcd7f8b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gluon/widget.py
Expand Up @@ -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)
Expand Down

0 comments on commit dcd7f8b

Please sign in to comment.