[MERGE] Fix for Bug 129299, BZR_PLUGIN_PATH should ignore trailiing slashes.

Alexander Belchenko bialix at ukr.net
Wed Aug 15 17:47:02 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

bb:approve

> -            os.environ['BZR_PLUGIN_PATH'] = "first\%s%ssecond\%s"%
> (os.sep, os.pathsep, os.sep)
> +            os.environ['BZR_PLUGIN_PATH'] =
> "first\\//\\%ssecond/\\/\\/"% (os.pathsep,)

IMO

  os.environ['BZR_PLUGIN_PATH'] = "first\\//\\" + os.pathsep + "second/\\/\\/"

is more readable.
But I will not have a chance to review your patch again, so I leave it as is.

- --
[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwy4GzYr338mxwCURAtkyAJ97vFgCo6yqL9wHE6YWEiuun8z1YgCfRj58
zpDWoA6YbjPDA0+aKYV+SW4=
=SC9Q
-----END PGP SIGNATURE-----



More information about the bazaar mailing list