Permalink
Browse files

Avoid what seems to be a bug in Python2.7

  • Loading branch information...
amol- committed May 22, 2012
1 parent debf37c commit d317d02340710e15fbd1815c461480720dcfca14
Showing with 8 additions and 0 deletions.
  1. +8 −0 devtools/templates/turbogears/setup.py_tmpl
@@ -7,6 +7,14 @@
#
#
+#This is just a work-around for a Python2.7 issue causing
+#interpreter crash at exit when trying to log an info message.
+try:
+ import logging
+ import multiprocessing
+except:
+ pass
+
import sys
try:

0 comments on commit d317d02

Please sign in to comment.