Commit 8e854e7c authored by Joerg Jaspert's avatar Joerg Jaspert 🇩🇪

try with case

Signed-off-by: Joerg Jaspert's avatarJoerg Jaspert <joerg@debian.org>
parent 61512330
......@@ -120,14 +120,14 @@ def main():
global Options, Logger, Queue, changes
cnf = Config()
Arguments = [('h', "help", "Security::Options::Help"),
('n', "no-action", "Security::Options::No-Action"),
('c', 'changesfile', "Security::Options::Changesfile"),
('s', "sudo", "Security-Install::Options::Sudo"),
('A', "approve", "Security-Install::Options::Approve")
Arguments = [('h', "Help", "Security::Options::Help"),
('n', "No-Action", "Security::Options::No-Action"),
('c', 'Changesfile', "Security::Options::Changesfile"),
('s', "Sudo", "Security-Install::Options::Sudo"),
('A', "Approve", "Security-Install::Options::Approve")
]
for i in ["help", "no-action", "changesfile", "sudo", "approve"]:
for i in ["Help", "No-Action", "Changesfile", "Sudo", "Approve"]:
if not cnf.has_key("Security::Options::%s" % (i)):
cnf["Security::Options::%s" % (i)] = ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment