Rev 724: Possible fix for bug #431241 in http://bzr.arbash-meinel.com/plugins/bzrtools
John Arbash Meinel
john at arbash-meinel.com
Tue Sep 22 19:20:42 BST 2009
At http://bzr.arbash-meinel.com/plugins/bzrtools
------------------------------------------------------------
revno: 724
revision-id: john at arbash-meinel.com-20090922182033-dghw1at79y9j1081
parent: aaron at aaronbentley.com-20090904024130-bs1pz8ukuufyt4ul
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: bzrtools
timestamp: Tue 2009-09-22 13:20:33 -0500
message:
Possible fix for bug #431241
-------------- next part --------------
=== modified file 'shell.py'
--- a/shell.py 2008-02-13 04:58:32 +0000
+++ b/shell.py 2009-09-22 18:20:33 +0000
@@ -99,7 +99,8 @@
self.identchars += '-'
ensure_config_dir_exists()
self.history_file = osutils.pathjoin(config_dir(), 'shell-history')
- readline.set_completer_delims(string.whitespace)
+ whitespace = ''.join(c for c in string.whitespace if c < chr(127))
+ readline.set_completer_delims(whitespace)
if os.access(self.history_file, os.R_OK) and \
os.path.isfile(self.history_file):
readline.read_history_file(self.history_file)
More information about the bazaar-commits
mailing list