wip
This commit is contained in:
parent
b678e79920
commit
677aefb8ea
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ directories = {
|
||||||
'action:apt_update',
|
'action:apt_update',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
files = {
|
files = {
|
||||||
'/etc/apt/sources.list': {
|
'/etc/apt/sources.list': {
|
||||||
|
|
|
@ -9,7 +9,7 @@ class AptSource():
|
||||||
def __init__(self, string):
|
def __init__(self, string):
|
||||||
if search(r'\[.*\]', string):
|
if search(r'\[.*\]', string):
|
||||||
self.options = {
|
self.options = {
|
||||||
k:v.split('=') for k,v in (
|
k:v.split(',') for k,v in (
|
||||||
e.split('=') for e in search(r'\[(.*)\]', string)[1].split()
|
e.split('=') for e in search(r'\[(.*)\]', string)[1].split()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue