def import_site_symbol(path, module, name, dummy=None, modulefile=None):
 module = import_site_module(path, module, modulefile=modulefile)
 if (not module):
  return dummy
 cant_import = object()
 obj = getattr(module, name, cant_import)
 if (obj is cant_import):
  logging.debug("unable to import site symbol '%s', using non-site implementation", name)
  return dummy
 return obj

def import_site_symbol ( path , module , name , dummy = None , modulefile = None ) : module = import_site_module ( path , module , modulefile = modulefile ) if ( not module ) : return dummy cant_import = object ( ) obj = getattr ( module , name , cant_import ) if ( obj is cant_import ) : logging . debug ( "unable to import site symbol '%s', using non-site implementation" , name ) return dummy return obj
try to import site specific symbol from site specific file if it exists .