Remove double code

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2020-03-05 23:49:45 +01:00
parent f69748cfb6
commit 9c77070049

View file

@ -42,7 +42,6 @@ def slack_package(prgnam):
TAG = os.environ['TAG']
break
binaries, cache, binary = [], "0", ""
for pkg in find_package(prgnam, _meta_.output):
if pkg.startswith(prgnam) and pkg[:-4].endswith(TAG):
binaries.append(pkg)