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

  • Committer: Jelmer Vernooij
  • Date: 2020-04-05 19:11:34 UTC
  • mto: (7490.7.16 work)
  • mto: This revision was merged to the branch mainline in revision 7501.
  • Revision ID: jelmer@jelmer.uk-20200405191134-0aebh8ikiwygxma5
Populate the .gitignore file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    del sys.argv[0]
14
14
    assert not os.path.isabs(sys.argv[0]), "If you know the FQ path, just use it!"
15
15
    sys.argv[0] = os.path.join(sys.prefix, "Scripts", sys.argv[0])
16
 
    execfile(sys.argv[0])
 
16
    exec(compile(open(sys.argv[0]).read(), sys.argv[0], 'exec'))