[pkg] fix print_traceback -> print_exc
authorAlain Leufroy <alain.leufroy@logilab.fr>
Wed, 20 Oct 2010 16:05:14 +0200
changeset 602 c49268e590f1
parent 600 53f6dc67f88c
child 603 8f31f58fee61
[pkg] fix print_traceback -> print_exc
setup.py
--- a/setup.py	Thu Oct 14 00:02:39 2010 +0200
+++ b/setup.py	Wed Oct 20 16:05:14 2010 +0200
@@ -171,7 +171,7 @@
             build_ext.build_ext.run(self)
         except CompileError:
             import traceback
-            traceback.print_traceback()
+            traceback.print_exc()
             sys.stderr.write('================================\n'
                              'The compilation of the gecode C extension failed. '
                              'rql will use logilab.constraint which is a pure '