def setUnjellyableForClassTree(module, baseClass, prefix=None):
 if (prefix is None):
  prefix = module.__name__
 if prefix:
  prefix = ('%s.' % prefix)
 for i in dir(module):
  i_ = getattr(module, i)
  if (type(i_) == types.ClassType):
   if issubclass(i_, baseClass):
    setUnjellyableForClass(('%s%s' % (prefix, i)), i_)

def setUnjellyableForClassTree ( module , baseClass , prefix = None ) : if ( prefix is None ) : prefix = module . __name__ if prefix : prefix = ( '%s.' % prefix ) for i in dir ( module ) : i_ = getattr ( module , i ) if ( type ( i_ ) == types . ClassType ) : if issubclass ( i_ , baseClass ) : setUnjellyableForClass ( ( '%s%s' % ( prefix , i ) ) , i_ )
set all classes in a module derived from c{baseclass} as copiers for a corresponding remote class .