summaryrefslogtreecommitdiffstats
path: root/pym/cache/sql_template.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/cache/sql_template.py')
-rw-r--r--pym/cache/sql_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/sql_template.py b/pym/cache/sql_template.py
index e635616e9..77f854054 100644
--- a/pym/cache/sql_template.py
+++ b/pym/cache/sql_template.py
@@ -209,7 +209,7 @@ class SQLDatabase(template.database):
return self.con.rowcount > 0
- def iterkeys(self):
+ def __iter__(self):
if not self.autocommits:
try: self.commit()
except self._BaseError, e: