[datafeed] fix typo in DataFeedXMLParser.is_deleted (closes #5729755)

authorDavid Douard <david.douard@logilab.fr>
changeset1182f5f16a3d
branchdefault
phasepublic
hiddenno
parent revision#d4bd28d5fca8 [server/sources] make sure entity._cw is a Connection before calling Storages
child revision#0e7fab504305 Copy read permissions on ComputedRelation rdefs
files modified by this revision
server/sources/datafeed.py
# HG changeset patch
# User David Douard <david.douard@logilab.fr>
# Date 1437587450 -7200
# Wed Jul 22 19:50:50 2015 +0200
# Node ID 1182f5f16a3de8b3a0604b257fe0c09e75ac6953
# Parent d4bd28d5fca860591b918b06ddbccebf265f64ca
[datafeed] fix typo in DataFeedXMLParser.is_deleted (closes #5729755)

diff --git a/server/sources/datafeed.py b/server/sources/datafeed.py
@@ -508,12 +508,12 @@
1 
2      def process_item(self, *args, **kwargs):
3          raise NotImplementedError
4 
5      def is_deleted(self, extid, etype, eid):
6 -        if exitd.startswith('file://'):
7 -            return exists(exitd[7:])
8 +        if extid.startswith('file://'):
9 +            return exists(extid[7:])
10 
11          url = self.normalize_url(extid)
12          # first, try to use cwclientlib if it's available and if the
13          # url matches a configuration entry in ~/.config/cwclientlibrc
14          try: