Commits

Jason R. Coombs  committed 872d34c Merge

Merged in pigmej/cherrypy (pull request #4)

  • Participants
  • Parent commits ab90e77, 31de502
  • Branches cherrypy-3.2.x

Comments (0)

Files changed (1)

File cherrypy/lib/reprconf.py

         if mod is None:
             raise KeyError()
     except KeyError:
-        # The last [''] is important.
-        mod = __import__(modulePath, globals(), locals(), [''])
+        __import__(modulePath)
+        mod = sys.modules[modulePath]   
     return mod
 
 def attributes(full_attribute_name):