Same fix as on the master branch. Got tired of seeing the DeprecationWarning messages. --- storage/iscsi.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/storage/iscsi.py b/storage/iscsi.py index af06cfe..fff6ad1 100644 --- a/storage/iscsi.py +++ b/storage/iscsi.py @@ -29,7 +29,8 @@ from flags import flags import logging import shutil import time -import md5, random +import hashlib +import random import partedUtils log = logging.getLogger("anaconda") @@ -104,7 +105,7 @@ def randomIname(): """Generate a random initiator name the same way as iscsi-iname""" s = "iqn.1994-05.com.fedora:01." - m = md5.md5() + m = hashlib.md5() u = os.uname() for i in u: m.update(i) -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list