-    main()
+    try:
+        main()
+    except:
+        pass

Nack. This will prevent any kind of error reporting and silently make
the program fail (with even a 0 return code). So instead of pointing out
what fails, this will make tracking down errors a nuisance.

Instead, this should just fix the actual crash (looks like the process
was called without stdout, thus print fails?)

-- 
openprinting-ppds crashed with IOError in ls()
https://bugs.launchpad.net/bugs/618017
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to