mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
Updated for blacklist
This commit is contained in:
parent
48c68ba661
commit
c776358237
1 changed files with 3 additions and 1 deletions
|
@ -185,7 +185,9 @@ class Utilities(Configs):
|
|||
|
||||
def blacklist_pattern(self, name: str) -> bool:
|
||||
""" This module provides support for Unix shell-style wildcards. """
|
||||
if [black for black in self.black.packages() if fnmatch.fnmatch(name, black)]:
|
||||
blacklist: list = ['%README%']
|
||||
blacklist.extend(self.black.packages())
|
||||
if [black for black in blacklist if fnmatch.fnmatch(name, black)]:
|
||||
return True
|
||||
|
||||
def is_binary_repo(self, repo: str) -> bool:
|
||||
|
|
Loading…
Add table
Reference in a new issue