Commits

Jędrzej Nowak  committed 7bbe793

Fixed incorrect usage of __import__ (see more http://bugs.python.org/issue2090)

  • Participants
  • Parent commits 697c7af

Comments (0)

Files changed (1)

File cherrypy/lib/reprconf.py

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