Commit d323bdaf authored by Tristan Gingold's avatar Tristan Gingold

remove unused functions.

parent ae6887e5
......@@ -115,28 +115,6 @@ class Action(list):
new_module.parse_manifest()
return new_module
def _check_manifest_variable_is_set(self, name):
"""Method to check if a specific manifest variable is set"""
if getattr(self.top_module, name) is None:
logging.error(
"Variable %s must be set in the manifest "
"to perform current action (%s)",
name, self.__class__.__name__)
sys.exit("\nExiting")
def _check_manifest_variable_value(self, name, value):
"""Method to check if a manifest variable is set to a specific value"""
variable_match = False
manifest_value = getattr(self.top_module, name)
if manifest_value == value:
variable_match = True
if variable_match is False:
logging.error(
"Variable %s must be set in the manifest and equal to '%s'.",
name, value)
sys.exit("Exiting")
def build_complete_file_set(self):
"""Build file set with all the files listed in the complete pool"""
logging.debug("Begin build complete file set")
......
......@@ -30,11 +30,3 @@ class Local(Fetcher):
def __init__(self):
pass
def fetch(self, module):
pass
@staticmethod
def check_md5sum(path):
"""Get the ID for Local sources... maybe sha256 or md5sum?"""
pass
......@@ -373,27 +373,6 @@ class SourceFileSet(set):
out.add(file_aux)
return out
def inversed_filter(self, filetype):
"""Method that filters and returns all of the HDL source files
contained in the instance SourceFileSet NOT matching the provided
type"""
out = SourceFileSet()
for file_aux in self:
if not isinstance(file_aux, filetype):
out.add(file_aux)
return out
def get_libs(self):
"""Method that returns a set containing all of the libraries that are
provided by any of the source files in the SourceFileSet"""
ret = set()
for file_aux in self:
try:
ret.add(file_aux.library)
except TypeError:
pass
return ret
def create_source_file(path, module, library=None,
include_dirs=None, is_include=False):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment