~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to shell.py

  • Committer: Aaron Bentley
  • Date: 2005-10-28 05:42:46 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20051028054246-e50a4222030a8772
Added *? to the list of tricky characters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
            yield completion[len(arg)-len(text):]+" "
271
271
 
272
272
def too_complicated(line):
273
 
    for char in '|<>"\"':
 
273
    for char in '|<>"\"*?':
274
274
        if char in line:
275
275
            return True
276
276
    return False