[Pkg-bazaar-commits] ./bzr/unstable r250: Fix unicode bug in command line handler.
mbp at sourcefrog.net
mbp at sourcefrog.net
Fri Apr 10 07:51:33 UTC 2009
------------------------------------------------------------
revno: 250
committer: mbp at sourcefrog.net
timestamp: Thu 2005-04-14 17:31:35 +1000
message:
Fix unicode bug in command line handler.
modified:
bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py 2005-04-13 04:07:00 +0000
+++ b/bzrlib/commands.py 2005-04-14 07:31:35 +0000
@@ -123,8 +123,6 @@
For each file there is a single line giving its file state and name.
The name is that in the current revision unless it is deleted or
missing, in which case the old name is shown.
-
- :todo: Don't show unchanged files unless ``--all`` is given?
"""
#import bzrlib.status
#bzrlib.status.tree_status(Branch('.'))
@@ -987,7 +985,7 @@
# mix arguments and options into one dictionary
cmdargs = _match_args(cmd, args)
for k, v in opts.items():
- cmdargs[k.replace('-', '_')] = v
+ cmdargs[str(k.replace('-', '_'))] = v
if profile:
import hotshot
More information about the Pkg-bazaar-commits
mailing list