diff --git a/ikog.py b/ikog.py
index 946cc47..9658424 100755
--- a/ikog.py
+++ b/ikog.py
@@ -235,7 +235,7 @@ class ColorCoder:
def isValidSet(self, myset):
if myset < len(self.codes):
return True
- else:
+ else:
return False
def colorSupported(self):
@@ -878,7 +878,7 @@ class TodoList:
def showPAbbreviations(self):
print globalPAbbr.toStringVerbose()
-
+
def setAbbreviation(self, line):
save = False
elements = line.split(" ", 1)
@@ -901,7 +901,7 @@ class TodoList:
def showAbbreviations(self):
print globalAbbr.toStringVerbose()
-
+
def setShortcut(self, line, force = False):
elements = line.split(" ", 1)
try:
@@ -924,7 +924,7 @@ class TodoList:
self.shortcuts[index] = command
return True
-
+
def showShortcuts(self):
index = 0
for s in self.shortcuts:
@@ -1005,7 +1005,7 @@ class TodoList:
gColor.setCodeSet(int(params[1].strip()))
elif cmd == "cfgAbbreviations":
abbrs = eval(params[1].strip())
- globalAbbr.setAbbreviations(abbrs)
+ globalAbbr.setAbbreviations(abbrs)
elif cmd == "cfgPAbbreviations":
abbrs = eval(params[1].strip())
globalPAbbr.setAbbreviations(abbrs)
@@ -1430,7 +1430,7 @@ class TodoList:
f.write(magicTag + "DATA\n")
else:
f = open(filename,"a+b")
-
+
f.write(item.toString())
f.write("\n")
f.close()
@@ -1639,7 +1639,7 @@ class TodoList:
except ValueError:
index = -1
return index
-
+
def archiveTask(self, indexStr):
doit = False
line = indexStr.split(" ", 1)
@@ -2223,7 +2223,7 @@ class Abbreviations:
"@H":"@Home", "@I":"@Internet","@L":"@Lunch", "@M":"@Meeting", "@N":"@Next",
"@P":"@Phone", "@Pw":"@Password", "@S":"@Someday/Maybe",
"@O":"@Other", "@W4":"@Waiting_For", "@W":"@Work"}
-
+
def setAbbreviations(self, abbr):
self.abbrevs.update(abbr)
@@ -2254,7 +2254,7 @@ class Abbreviations:
if self.abbrevs.has_key(project):
return self.abbrevs[project]
return project
-
+
def toString(self):
return str(self.abbrevs)