[datafeed] fix typo in DataFeedXMLParser.is_deleted (closes #5729755)
authorDavid Douard <david.douard@logilab.fr>
Wed, 22 Jul 2015 19:50:50 +0200
changeset 10551 1182f5f16a3d
parent 10550 d4bd28d5fca8
child 10552 0e7fab504305
[datafeed] fix typo in DataFeedXMLParser.is_deleted (closes #5729755)
server/sources/datafeed.py
--- a/server/sources/datafeed.py	Mon Jul 27 10:51:29 2015 +0200
+++ b/server/sources/datafeed.py	Wed Jul 22 19:50:50 2015 +0200
@@ -510,8 +510,8 @@
         raise NotImplementedError
 
     def is_deleted(self, extid, etype, eid):
-        if exitd.startswith('file://'):
-            return exists(exitd[7:])
+        if extid.startswith('file://'):
+            return exists(extid[7:])
 
         url = self.normalize_url(extid)
         # first, try to use cwclientlib if it's available and if the