mirror of
https://github.com/brain-hackers/wiki.brainux.org
synced 2024-12-22 12:10:06 +09:00
Blacken package_list.py
This commit is contained in:
parent
cd51beb066
commit
114224afa7
@ -1,13 +1,15 @@
|
||||
import requests
|
||||
|
||||
|
||||
res = requests.get('https://raw.githubusercontent.com/brain-hackers/buildbrain/master/os-brainux/setup_brainux.sh')
|
||||
res = requests.get(
|
||||
'https://raw.githubusercontent.com/brain-hackers/buildbrain/master/os-brainux/setup_brainux.sh'
|
||||
)
|
||||
lines = res.text.split('\n')
|
||||
|
||||
found_packages = []
|
||||
backslashed = False
|
||||
|
||||
for (i,line) in enumerate(lines):
|
||||
for (i, line) in enumerate(lines):
|
||||
if line.strip().startswith('apt install') or backslashed:
|
||||
if backslashed:
|
||||
packages = line.strip().split(' ')
|
||||
|
Loading…
Reference in New Issue
Block a user