From d528a07613ba7a767524d200da302c1b831d5c8a Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 15 Jan 2009 10:07:04 -0500 Subject: The sets module is deprecated, so no longer use it. --- image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'image.py') 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 -- cgit