From 89f31db71f23d9423c92c9a800768c7eab6445e4 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 23 Jul 2018 16:58:51 -0700 Subject: [PATCH] utils: Remove unused method Reviewed-by: James Valleroy --- plinth/utils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plinth/utils.py b/plinth/utils.py index d6d88e910..b139bd574 100644 --- a/plinth/utils.py +++ b/plinth/utils.py @@ -121,10 +121,6 @@ class YAMLFile(object): return os.stat(self.yaml_file).st_size == 0 -def yes_or_no(cond): - return 'yes' if cond else 'no' - - def generate_password(size=32): """Generate a random password using ascii alphabet and digits.""" chars = (random.SystemRandom().choice(string.ascii_letters + string.digits)