aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2015-07-29 14:47:19 +0200
committerAdam Stokes <adam.stokes@ubuntu.com>2015-07-29 10:09:27 -0400
commit24fb011755e655127b7e09f4c02275539666b4b2 (patch)
tree1691444fae98845424d94e9832df899d3dfc7a60
parent02ef6e2ba8d1a8fe4468aaa8be0ae88f8c74646a (diff)
downloadsos-24fb011755e655127b7e09f4c02275539666b4b2.tar.gz
[sapnw] uses a deprecated Sets module
Use built-in set class instead of deprecated Set for sidsunique Resolves: #608 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/sapnw.py3
1 files changed, 1 insertions, 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