Tweaks to use inplace arithmetic
svn: r13191
This commit is contained in:
@@ -169,7 +169,7 @@ class RecentFiles(object):
|
||||
xml_file.write('<RecentFiles>\n')
|
||||
index = 0
|
||||
for item in self.gramps_recent_files:
|
||||
index = index + 1
|
||||
index += 1
|
||||
if index > MAX_GRAMPS_ITEMS:
|
||||
break
|
||||
xml_file.write(' <RecentItem>\n')
|
||||
|
||||
Reference in New Issue
Block a user