[Pkg-bazaar-commits] ./bzr/unstable r424: todo
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 07:43:37 UTC 2009
------------------------------------------------------------
revno: 424
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-10 13:56:02 +1000
message:
todo
modified:
bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py 2005-05-10 03:50:45 +0000
+++ b/bzrlib/commands.py 2005-05-10 03:56:02 +0000
@@ -145,6 +145,9 @@
def __init__(self, path):
self.path = path
+ # TODO: If either of these fail, we should detect that and
+ # assume that path is not really a bzr plugin after all.
+
pipe = os.popen('%s --bzr-usage' % path, 'r')
self.takes_options = pipe.readline().split()
self.takes_args = pipe.readline().split()
More information about the Pkg-bazaar-commits
mailing list