[MERGE] make bzr script un-importable
Benjamin Peterson
musiccomposition at gmail.com
Fri Mar 14 02:30:03 GMT 2008
Hi Bazaar Developers,
I was reading through Bazaar's source, and I noticed these lines in the main
bzr script:
if __name__ == "__main__":
# run bzr
else:
pass # should this give an error? - it can't be used as a lib
This bundle makes importing the bzr script raise an ImportError.
Thanks for you comments,
Benjamin Peterson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080313/fc47fac9/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-bzr-import.patch
Type: application/octet-stream
Size: 2402 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080313/fc47fac9/attachment.obj
More information about the bazaar
mailing list