/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/win32/brz-win32-bdist-postinstall.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-24 17:48:04 UTC
  • mfrom: (6921 work)
  • mto: This revision was merged to the branch mainline in revision 6923.
  • Revision ID: jelmer@jelmer.uk-20180324174804-xf22o05byoj12x1q
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
                         batch_str)
79
79
 
80
80
        batch_path = os.path.join(scripts_dir, "brz.bat")
81
 
        with file(batch_path, "w") as f:
82
 
            f.write(batch_str)
 
81
        f = file(batch_path, "w")
 
82
        f.write(batch_str)
 
83
        f.close()
83
84
        file_created(batch_path)        # registering manually created files for
84
85
                                        # auto-deinstallation procedure
85
86
        ##