def unpickleModule(name):
 if (name in oldModules):
  log.msg(('Module has moved: %s' % name))
  name = oldModules[name]
  log.msg(name)
 return __import__(name, {}, {}, 'x')

def unpickleModule ( name ) : if ( name in oldModules ) : log . msg ( ( 'Module has moved: %s' % name ) ) name = oldModules [ name ] log . msg ( name ) return __import__ ( name , { } , { } , 'x' )
support function for copy_reg to unpickle module refs .