Removed unused

This commit is contained in:
Dimitris Zlatanidis 2023-05-05 12:19:16 +03:00
parent 46edd1271a
commit 3abf09e7d9

View file

@ -179,17 +179,6 @@ class Utilities(Configs):
if [black for black in self.black.packages() if fnmatch.fnmatch(name, black)]:
return True
# def repository_name(self, data: dict) -> str:
# """ Get the binary repository name from the repository data. """
# try:
# # Binary repository name
# repo: list = list(data.values())[0][11]
# except (IndexError, AttributeError):
# # Slackbuilds repository name 'sbo | ponce'
# repo: str = self.repos.sbo_enabled_repo_name
# return repo
def is_binary_repo(self, repo: str) -> bool:
""" Checks if the repository is binary. """
if repo in list(self.repos.repositories.keys())[2:]: