изменено: pym/update/variables/update.py

master
root 2 years ago
parent a9e5b78c64
commit eb9850069d

@ -184,11 +184,11 @@ class VariableClUpdateInnerRepList(Variable):
for dct in val: for dct in val:
for key, value in dct.items(): for key, value in dct.items():
if key == prev_host: if key == prev_host:
yield value, key.lower() yield value, key
for dct in val: for dct in val:
for key, value in dct.items(): for key, value in dct.items():
if key != prev_host: if key != prev_host:
yield value, key.lower() yield value, key
return [x for x in gen()] return [x for x in gen()]
@ -200,7 +200,7 @@ class VariableClUpdateRepHostingChoice(Variable):
type = "choice" type = "choice"
value = '' value = ''
opt = ["--repo-update"] opt = ["--repo-update"]
metavalue = (_("REPOSITORY URL")) metavalue = "REPOSITORY URL"
def init(self): def init(self):
self.label = (_("Update repository")) self.label = (_("Update repository"))

Loading…
Cancel
Save