I changed my mind and fixed #/03d07e61#.
authorW. Trevor King <wking@drexel.edu>
Sat, 25 Feb 2012 20:47:58 +0000 (15:47 -0500)
committerW. Trevor King <wking@drexel.edu>
Sat, 25 Feb 2012 20:47:58 +0000 (15:47 -0500)
.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/7bef29a2-20fb-4da2-b339-316787b416b7/body [new file with mode: 0644]
.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/7bef29a2-20fb-4da2-b339-316787b416b7/values [new file with mode: 0644]
.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/values
libbe/ui/command_line.py

diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/7bef29a2-20fb-4da2-b339-316787b416b7/body b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/7bef29a2-20fb-4da2-b339-316787b416b7/body
new file mode 100644 (file)
index 0000000..b480132
--- /dev/null
@@ -0,0 +1 @@
+I've changed my mind ;).  Fixed now.
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/7bef29a2-20fb-4da2-b339-316787b416b7/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/7bef29a2-20fb-4da2-b339-316787b416b7/values
new file mode 100644 (file)
index 0000000..0d54532
--- /dev/null
@@ -0,0 +1,11 @@
+Author: '"W. Trevor King" <wking@drexel.edu>'
+
+
+Content-type: text/plain
+
+
+Date: Sat, 25 Feb 2012 20:46:41 +0000
+
+
+In-reply-to: cf0b0155-0f1b-4863-a4c0-8cfc0494b280
+
index 1ffb89179f68cc5177ecd07bbc6a6bdb4480737d..94c5f6dd9505979a6b6f34277d8e21788ebef3ea 100644 (file)
@@ -7,7 +7,7 @@ reporter: Tanguy LE CARROUR <tanguy.lecarrour@gmail.com>
 severity: minor
 
 
-status: wontfix
+status: fixed
 
 
 summary: Crash on permission problems
index d6e8d676ec178deedcbc326164d62e17dc700168..d6e820bbd90d67c61e538949dbd368a09a7b494a 100644 (file)
@@ -304,6 +304,9 @@ def dispatch(ui, command, args):
     except libbe.command.UserError, e:
         print >> ui.io.stdout, 'ERROR:\n', e
         return 1
+    except OSError, e:
+        print >> ui.io.stdout, 'OSError:\n', e
+        return 1
     except libbe.storage.ConnectionError, e:
         print >> ui.io.stdout, 'Connection Error:\n', e
         return 1
@@ -366,7 +369,12 @@ def main():
     libbe.ui.util.pager.run_pager(paginate)
 
     ret = dispatch(ui, command, args)
-    ui.cleanup()
+    try:
+        ui.cleanup()
+    except IOError, e:
+        print >> ui.io.stdout, 'IOError:\n', e
+        return 1
+
     return ret
 
 if __name__ == '__main__':