From edb4071a6a0ea29bddde588a57b58ad1cf140cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 11 Jul 2005 00:12:13 +0000 Subject: [PATCH] typo --- pisi/ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/ui.py b/pisi/ui.py index a4cdfd68..0116dd2c 100644 --- a/pisi/ui.py +++ b/pisi/ui.py @@ -31,9 +31,9 @@ class CLI: while True: s = raw_input(msg + colorize('(yes/no)', 'red')) if s.starts_with('y') or s.starts_with('Y'): - return true + return True if s.starts_with('n') or s.starts_with('N'): - return false + return False class Progress: def __init__(self, totalsize):