Skip to content

Commit

Permalink
v0.7 called execute on the wrong thing
Browse files Browse the repository at this point in the history
  • Loading branch information
dmclain committed Nov 20, 2012
1 parent 0700770 commit 62497bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy_heroku/spiderqueue.py
Expand Up @@ -63,7 +63,7 @@ def pop(self):
def remove(self, func):
q = "select id, message from %s for update" % self.table
n = 0
for mid, msg in self.conn.execute(q):
for mid, msg in self._execute(q):
if func(self.decode(msg)):
q = "delete from %s where id=%%s" % self.table
self._execute(q, (mid,), results=False)
Expand Down

0 comments on commit 62497bd

Please sign in to comment.