Comment 2 for bug 431054

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 431054] [NEW] Command._usage assumes the executable is called "bzr"

-----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-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqxbBoACgkQJdeBCYSNAAPmLwCfSPf9FGqw6cdpJ6NcYiNJHW81
/BgAoIyVXy7VMZ8uPqUBGzo8vt6o3Me6
=ziCm
-----END PGP SIGNATURE-----