~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Gordon Tyler
  • Date: 2009-12-27 14:39:42 UTC
  • mto: (5037.3.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5046.
  • Revision ID: gordon@doxxx.net-20091227143942-h5m32sdty519vlg9
Fixed handling of multiple quoted arguments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
537
537
class _Whitespace(object):
538
538
    def process(self, next_char, seq, context):
539
539
        if _whitespace_match(next_char):
540
 
            return self
 
540
            if len(context.token) > 0:
 
541
                return None
 
542
            else:
 
543
                return self
541
544
        elif next_char == u'"':
542
545
            context.quoted = True
543
546
            return _Quotes(self)