summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py
index b1b098a6d..156d45a4f 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -23,6 +23,7 @@ import posix
import sys
import kudzu
import iutil
+import warnings
import logging
log = logging.getLogger("anaconda")
@@ -459,6 +460,8 @@ def parseArgv(str):
return _isys.poptParseArgv(str)
def getopt(*args):
+ warnings.warn("isys.getopt is deprecated. Use optparse instead.",
+ DeprecationWarning, stacklevel=2)
return apply(_isys.getopt, args)
def doProbeBiosDisks():