Remove extract_modulemd since it's no longer used in the code

This commit is contained in:
mprahl
2019-04-24 09:39:54 -04:00
parent a642b5ddc0
commit 60160a2903

View File

@@ -28,7 +28,7 @@ import six
from abc import ABCMeta, abstractmethod
import module_build_service.config as cfg
from module_build_service import conf, log
from module_build_service import conf
class GenericResolver(six.with_metaclass(ABCMeta)):
@@ -98,16 +98,6 @@ class GenericResolver(six.with_metaclass(ABCMeta)):
return False
@staticmethod
def extract_modulemd(yaml, strict=False):
log.warning(
"GenericResolver.extract_modulemd is deprecated. Please call "
"module_build_service.utils.load_mmd in new code."
)
from module_build_service.utils import load_mmd
return load_mmd(yaml)
@abstractmethod
def get_module_count(self, **kwargs):
raise NotImplementedError()