Rev 3377: (mbp, trivial) fix incorrect indentation in _run_editor in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Tue Apr 22 13:01:06 BST 2008


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 3377
revision-id:pqm at pqm.ubuntu.com-20080422120059-sony5sthnlewabge
parent: pqm at pqm.ubuntu.com-20080421181503-z5opy8fb01ksjc5w
parent: mbp at sourcefrog.net-20080422095815-np97h22g15tejnhq
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2008-04-22 13:00:59 +0100
message:
  (mbp,trivial) fix incorrect indentation in _run_editor
modified:
  bzrlib/msgeditor.py            msgeditor.py-20050901111708-ef6d8de98f5d8f2f
    ------------------------------------------------------------
    revno: 3376.1.1
    revision-id:mbp at sourcefrog.net-20080422095815-np97h22g15tejnhq
    parent: pqm at pqm.ubuntu.com-20080421181503-z5opy8fb01ksjc5w
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: trivial
    timestamp: Tue 2008-04-22 19:58:15 +1000
    message:
      Fix incorrect indentation (#220333)
    modified:
      bzrlib/msgeditor.py            msgeditor.py-20050901111708-ef6d8de98f5d8f2f
=== modified file 'bzrlib/msgeditor.py'
--- a/bzrlib/msgeditor.py	2007-11-17 17:22:08 +0000
+++ b/bzrlib/msgeditor.py	2008-04-22 09:58:15 +0000
@@ -61,10 +61,10 @@
             ## mutter("trying editor: %r", (edargs +[filename]))
             x = call(edargs + [filename])
         except OSError, e:
-           # We're searching for an editor, so catch safe errors and continue
-           if e.errno in (errno.ENOENT, ):
-               continue
-           raise
+            # We're searching for an editor, so catch safe errors and continue
+            if e.errno in (errno.ENOENT, ):
+                continue
+            raise
         if x == 0:
             return True
         elif x == 127:




More information about the bazaar-commits mailing list