diff etc/emacs.py @ 78766:8b1569975c4d

(complete.class_members): Make sure we return the _emacs_out message even in the face of exceptions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 12 Sep 2007 19:44:36 +0000
parents 713172dcf518
children 1dd7437446ea
line wrap: on
line diff
--- a/etc/emacs.py	Wed Sep 12 19:02:12 2007 +0000
+++ b/etc/emacs.py	Wed Sep 12 19:44:36 2007 +0000
@@ -176,7 +176,9 @@
 		    names.add('__class__')
 		    names.union_update (class_members (object))
 	    except: names = all_names (dict)
-    except: return []
+    except:
+        print '_emacs_out ()'
+        return []
     l = len(name)
     print '_emacs_out (',
     for n in names: