Skip to content

Commit 15639ee

Browse files
committed
Remove no-op comparison (.pop is the important part)
1 parent 197217f commit 15639ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hug/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def exit(self, status=0, message=None):
526526
kwargs["action"] = "store_true"
527527
kwargs.pop("type", None)
528528
elif kwargs.get("action", None) == "store_true":
529-
kwargs.pop("action", None) == "store_true"
529+
kwargs.pop("action", None)
530530

531531
if option == self.additional_options:
532532
kwargs["nargs"] = "*"

0 commit comments

Comments
 (0)