Michael Hudson wrote:
> Public bug reported:
>
> As I'm reusing bzr's command handling code in a wholly separate script,
> this isn't appropriate.
>
> Making a guess based on sys.argv[0] will probably work fairly well.
>
> ** Affects: bzr
> Importance: Undecided
> Status: New
>
I think there are some problems with sys.argv[0] in the presence/absence
of sys.frozen. But certainly something like that is probably reasonable.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Hudson wrote:
> Public bug reported:
>
> As I'm reusing bzr's command handling code in a wholly separate script,
> this isn't appropriate.
>
> Making a guess based on sys.argv[0] will probably work fairly well.
>
> ** Affects: bzr
> Importance: Undecided
> Status: New
>
I think there are some problems with sys.argv[0] in the presence/absence
of sys.frozen. But certainly something like that is probably reasonable.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
xbBoACgkQJdeBCY SNAAPmLwCfSPf9F Gqw6cdpJ6NcYiNJ HW81 uPqUBGzo8vt6o3M e6
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkq
/BgAoIyVXy7VMZ8
=ziCm
-----END PGP SIGNATURE-----