Merge pull request #140 from oschuett/master

Fix binder/apt.txt detection
pull/134/merge
Tim Head 2017-11-12 22:41:01 +01:00 zatwierdzone przez GitHub
commit c9821a3c7d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -421,7 +421,7 @@ class BaseImage(BuildPack):
def setup_assembly(self):
assemble_scripts = []
try:
with open('apt.txt') as f:
with open(self.binder_path('apt.txt')) as f:
extra_apt_packages = [l.strip() for l in f]
# Validate that this is, indeed, just a list of packages
# We're doing shell injection around here, gotta be careful.