~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to shell.py

  • Committer: Aaron Bentley
  • Date: 2009-11-12 09:17:55 UTC
  • mto: This revision was merged to the branch mainline in revision 736.
  • Revision ID: aaron@aaronbentley.com-20091112091755-cpt8zcz3he5q0mhw
Handle more qbzr commands.

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
            return os.system(line)
193
193
 
194
194
        try:
195
 
            is_qbzr = (
196
 
                cmd_obj.__module__ == 'bzrlib.plugins.qbzr.lib.commands')
 
195
            is_qbzr = cmd_obj.__module__.startswith('bzrlib.plugins.qbzr.')
197
196
            if too_complicated(line) or is_qbzr:
198
197
                return os.system("bzr "+line)
199
198
            else: