(self)
The backend module whose name matches :attr:`distributor_id`.

        :raises: :exc:`~exceptions.EnvironmentError` when no matching backend
                 module is available.
The backend module whose name matches :attr:`distributor_id`.
The backend module whose name matches : attr : distributor_id .
def backend(self):
        """
        The backend module whose name matches :attr:`distributor_id`.

        :raises: :exc:`~exceptions.EnvironmentError` when no matching backend
                 module is available.
        """
        logger.debug("Checking whether %s platform is supported ..", self.distributor_id.capitalize())
        module_path = "%s.backends.%s" % (__name__, self.distributor_id)
        try:
            __import__(module_path)
        except ImportError:
            msg = "%s platform is unsupported! (only Debian and Ubuntu are supported)"
            raise EnvironmentError(msg % self.distributor_id.capitalize())
        else:
            return sys.modules[module_path]
def backend ( self ) : logger . debug ( "Checking whether %s platform is supported .." , self . distributor_id . capitalize ( ) ) module_path = "%s.backends.%s" % ( __name__ , self . distributor_id ) try : __import__ ( module_path ) except ImportError : msg = "%s platform is unsupported! (only Debian and Ubuntu are supported)" raise EnvironmentError ( msg % self . distributor_id . capitalize ( ) ) else : return sys . modules [ module_path ]