~jfb-tempo-consulting/unifield-wm/sync-env-py3

« back to all changes in this revision

Viewing changes to mkdb.py

  • Committer: jf
  • Date: 2013-11-29 18:41:01 UTC
  • Revision ID: jf@ubuntu-20131129184101-ev2ch8kp0tqor0op
[FIX] mkdb log filename

Show diffs side-by-side

added added

removed removed

Lines of Context:
755
755
    if o.log_to_file:
756
756
        if not os.path.exists(dir_to_dump):
757
757
            os.makedirs(dir_to_dump)
758
 
        f = open(os.path.join(dir_to_dump, 'script_result.txt'), "w")
 
758
        f = open(os.path.join(dir_to_dump, 'script_result.log'), "w")
759
759
        stream = f
760
760
    else:
761
761
        stream = sys.stderr