changeset 92:6fcfe20719ce

cosmetic: use augmented assignments
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 23 Dec 2012 19:02:07 +0100
parents 08644d45d0c4
children 78da04e67e9e
files emeraldtree/ElementInclude.py emeraldtree/tree.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/emeraldtree/ElementInclude.py	Sun Dec 23 17:58:33 2012 +0100
+++ b/emeraldtree/ElementInclude.py	Sun Dec 23 19:02:07 2012 +0100
@@ -137,4 +137,4 @@
                 )
         else:
             include(e, loader)
-        i = i + 1
+        i += 1
--- a/emeraldtree/tree.py	Sun Dec 23 17:58:33 2012 +0100
+++ b/emeraldtree/tree.py	Sun Dec 23 19:02:07 2012 +0100
@@ -811,7 +811,7 @@
                     self._root = self._parser.close()
                     self._parser = None
             else:
-                self._index = self._index + 1
+                self._index += 1
                 return item
 
     def __iter__(self):