/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 setup.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-30 14:28:33 UTC
  • mfrom: (7005 work)
  • mto: This revision was merged to the branch mainline in revision 7008.
  • Revision ID: jelmer@jelmer.uk-20180630142833-eg208wfe8la76m0x
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
                args = self._win_batch_args()
135
135
                batch_str = "@%s %s %s" % (python_exe, script_path, args)
136
136
                batch_path = os.path.join(self.install_dir, "brz.bat")
137
 
                with file(batch_path, "w") as f:
 
137
                with open(batch_path, "w") as f:
138
138
                    f.write(batch_str)
139
139
                print(("Created: %s" % batch_path))
140
140
            except Exception: