2008-02-02 Raphael Ackermann <raphael.ackermann@gmail.com>

* src/DataViews/GrampletView.py
	* src/ReportBase/_ReportUtils.py
	* src/gen/proxy/private.py
	* src/plugins/WebCal.py
	* src/plugins/CmdRef.py
	* src/Models/_ListCursor.py
	* src/Models/_PathCursor.py
	PEP 8 fixes. Change 
	if var == True --> if var 
	if var is True --> if var
	if var == False --> if not var
	if var == None --> if var is None

svn: r9994
This commit is contained in:
Raphael Ackermann
2008-02-05 00:31:57 +00:00
parent a2316b578b
commit 534a306579
8 changed files with 70 additions and 56 deletions

View File

@ -305,7 +305,7 @@ class Gramplet(object):
return False
try:
retval = self._generator.next()
if retval == False:
if not retval:
self._idle_id = 0
return retval
except StopIteration: