mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 20:42:47 +02:00
Don't set default="" for store_false args...
This commit is contained in:
+1
-1
@@ -1246,7 +1246,7 @@ class HelpfulArgumentParser(object):
|
||||
# This doesn't matter at present (none of the store_false args
|
||||
# are renewal-relevant), but implement it for future sanity:
|
||||
# detect the setting of args whose presence causes True -> False
|
||||
elif kwargs.get("action", "") == "store_false":
|
||||
if kwargs.get("action", "") == "store_false":
|
||||
kwargs["default"] = None
|
||||
for var in args:
|
||||
self.store_false_vars[var] = True
|
||||
|
||||
Reference in New Issue
Block a user