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

master
root 1 year ago
parent a9e5b78c64
commit eb9850069d

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

Loading…
Cancel
Save