diff --git a/Script/cs/Threads/InfoServiceThread.py b/Script/cs/Threads/InfoServiceThread.py index 6ec4c5546b810627294f38ed41a52daae8ba663a..650a43ef72698508cab328147063293efaca42e4 100644 --- a/Script/cs/Threads/InfoServiceThread.py +++ b/Script/cs/Threads/InfoServiceThread.py @@ -118,8 +118,8 @@ class InfoServiceThread(threading.Thread): def cleanup_unwanted_stuff(self, name_of_unwanted_IS_entry, type_of_unwanted_IS_entry): '''For deleting old castorscript information in case of change of format''' - it = ispy.ISInfoIterator(self.ipc_partition, self.IS_server, ispy.ISCriteria('.*')) - is_info_dictionary = ispy.ISInfoDictionary(self.ipc_partition) + it = ispy.ISInfoIterator(self.ipc_partition, self.IS_server, ispy.ISCriteria('.*')) #pylint: disable=no-member + is_info_dictionary = ispy.ISInfoDictionary(self.ipc_partition) #pylint: disable=no-member self.logger.debug("Removing old objects of with old type %s, with name %s in the %s server:",type_of_unwanted_IS_entry,name_of_unwanted_IS_entry, self.IS_server) while it.next(): if str(it.name()).find(name_of_unwanted_IS_entry) is not -1 and str(it.type()).find(type_of_unwanted_IS_entry) is not -1: