From 70518c01a1547b7383b2f4c06eb9a07a5cf1119d Mon Sep 17 00:00:00 2001 From: Yuming Zhu Date: Tue, 17 Oct 2023 19:57:01 +0800 Subject: [PATCH] remove unused yesno helper --- cli/koji_cli/lib.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/koji_cli/lib.py b/cli/koji_cli/lib.py index b3a0812e..c605940f 100644 --- a/cli/koji_cli/lib.py +++ b/cli/koji_cli/lib.py @@ -925,10 +925,3 @@ class DatetimeJSONEncoder(json.JSONEncoder): if isinstance(o, xmlrpc_client.DateTime): return str(o) return json.JSONEncoder.default(self, o) - - -def yesno(x): - if x: - return 'Y' - else: - return 'N'