summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-01-15 10:07:04 -0500
committerChris Lumens <clumens@redhat.com>2009-01-15 10:07:04 -0500
commitd528a07613ba7a767524d200da302c1b831d5c8a (patch)
tree74a77c33ef3409d1348f4598bd8d6fa9a2367171 /image.py
parent4addb7a85b1e92963c6106e37261349108c31210 (diff)
downloadanaconda-d528a07613ba7a767524d200da302c1b831d5c8a.tar.gz
anaconda-d528a07613ba7a767524d200da302c1b831d5c8a.tar.xz
anaconda-d528a07613ba7a767524d200da302c1b831d5c8a.zip
The sets module is deprecated, so no longer use it.
Diffstat (limited to 'image.py')
-rw-r--r--image.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/image.py b/image.py
index 25d9fd000..fc687fd38 100644
--- a/image.py
+++ b/image.py
@@ -18,7 +18,7 @@
#
import isys, iutil
-import os, os.path, stat, string, sys, sets
+import os, os.path, stat, string, sys
from constants import *
import gettext
@@ -226,8 +226,8 @@ def presentRequiredMediaMessage(anaconda):
log.info("discNums is %s" %(discNums,))
haveall = 0
- s = sets.Set(reqcds)
- t = sets.Set(discNums)
+ s = set(reqcds)
+ t = set(discNums)
if s.issubset(t):
haveall = 1