def lookup_package_plugin(package_type=None):
 if (package_type is None):
  return _default_package_plugin
 return _package_plugins.get(package_type, _default_package_plugin)

def lookup_package_plugin ( package_type = None ) : if ( package_type is None ) : return _default_package_plugin return _package_plugins . get ( package_type , _default_package_plugin )
returns the plugin controller associoated with the given package type .