[datafeed] fix dumb name error introduced by recent deletion handling refactoring
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Feb 2012 11:34:53 +0100
changeset 8230 00435a332502
parent 8229 b7bc631816f7
child 8236 cc70da744f43
[datafeed] fix dumb name error introduced by recent deletion handling refactoring
server/sources/datafeed.py
--- a/server/sources/datafeed.py	Tue Feb 14 09:49:13 2012 +0100
+++ b/server/sources/datafeed.py	Tue Feb 14 11:34:53 2012 +0100
@@ -201,6 +201,7 @@
         if self.process_urls(parser, self.urls, raise_on_error):
             self.warning("some error occured, don't attempt to delete entities")
         elif self.config['delete-entities'] and myuris:
+            byetype = {}
             for extid, (eid, etype) in myuris.iteritems():
                 if parser.is_deleted(extid, etype, eid):
                     byetype.setdefault(etype, []).append(str(eid))