From 6cd0dba4ded496ff128d6380550b19feebc4df11 Mon Sep 17 00:00:00 2001 From: Amit Upadhyay Date: Wed, 24 Dec 2008 12:32:28 +0530 Subject: [PATCH] as is a reserved keyword now, upadting ikog --- ikog | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ikog b/ikog index 133c6cf..45c1486 100755 --- a/ikog +++ b/ikog @@ -1003,10 +1003,10 @@ class TodoList: index = index + 1 elif cmd == "cfgAutoSave": if params[1].upper().strip() == "TRUE": - as = True + as_ = True else: - as = False - self.setAutoSave(as, False) + as_ = False + self.setAutoSave(as_, False) elif cmd == "cfgReviewMode": if params[1].upper().strip() == "TRUE": self.setReview("ON") @@ -1062,8 +1062,8 @@ class TodoList: self.showError("Could not understand the sys command. Use SYS ON or OFF.") return (self.sysCalls != oldCalls) - def setAutoSave(self, as, save): - if as: + def setAutoSave(self, as_, save): + if as_: if self.autoSave == False: self.autoSave = True if save: -- 2.11.4.GIT