def __init__(self,dlconfig=None): if DefaultDownloadStartupConfig.__single: raise RuntimeError, "DefaultDownloadStartupConfig is singleton" DefaultDownloadStartupConfig.__single = self DownloadStartupConfig.__init__(self,dlconfig=dlconfig)
def __init__(self, dlconfig=None): if DefaultDownloadStartupConfig.__single: raise RuntimeError, "DefaultDownloadStartupConfig is singleton" DefaultDownloadStartupConfig.__single = self DownloadStartupConfig.__init__(self, dlconfig=dlconfig)
def __init__(self, dlconfig=None): if DefaultDownloadStartupConfig.__single: raise RuntimeError("DefaultDownloadStartupConfig is singleton") DefaultDownloadStartupConfig.__single = self DownloadStartupConfig.__init__(self, dlconfig=dlconfig) self._logger = logging.getLogger(self.__class__.__name__)