From 24fb011755e655127b7e09f4c02275539666b4b2 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Wed, 29 Jul 2015 14:47:19 +0200 Subject: [sapnw] uses a deprecated Sets module Use built-in set class instead of deprecated Set for sidsunique Resolves: #608 Signed-off-by: Pavel Moravec Signed-off-by: Adam Stokes --- sos/plugins/sapnw.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sos/plugins/sapnw.py b/sos/plugins/sapnw.py index e18978f6..59beff21 100644 --- a/sos/plugins/sapnw.py +++ b/sos/plugins/sapnw.py @@ -13,7 +13,6 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. import os -from sets import Set from sos.plugins import Plugin, RedHatPlugin @@ -44,7 +43,7 @@ class sapnw(Plugin, RedHatPlugin): -function ListDatabases", suggest_filename="SAPDatabases") - sidsunique = Set([]) + sidsunique = set() # Cycle through all the instances, get 'sid' 'instance_number' # and 'vhost' to determine the proper profile -- cgit