From 116e0df27a013a2a43da7d2ea6b291683353f728 Mon Sep 17 00:00:00 2001 From: Jonas <jonas@holm.tech> Date: Wed, 17 Apr 2019 18:49:43 +0200 Subject: [PATCH] Giving pylint the blue pill.. (pylint ignore) --- Script/cs/Threads/InfoServiceThread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Script/cs/Threads/InfoServiceThread.py b/Script/cs/Threads/InfoServiceThread.py index 6ec4c55..650a43e 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: -- GitLab