~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/bash_completion/bashcomp.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-20 17:56:21 UTC
  • mto: This revision was merged to the branch mainline in revision 6390.
  • Revision ID: jelmer@samba.org-20111220175621-w5jz1tn64qfkqp1m
Move sys import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
)
29
29
import bzrlib
30
30
import re
 
31
import sys
31
32
 
32
33
 
33
34
class BashCodeGen(object):
432
433
        ]
433
434
 
434
435
    def run(self, **kwargs):
435
 
        import sys
436
436
        if 'plugin' in kwargs:
437
437
            # work around bug #387117 which prevents us from using param_name
438
438
            if len(kwargs['plugin']) > 0:
443
443
 
444
444
if __name__ == '__main__':
445
445
 
446
 
    import sys
447
446
    import locale
448
447
    import optparse
449
448