David Cantrell wrote:
pychecker fix.
---
iscsi.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Looks good
Regards,
Hans
diff --git a/iscsi.py b/iscsi.py
index f6643db..fdf8437 100644
--- a/iscsi.py
+++ b/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.2005-03.com.max:01."
- m = md5.md5()
+ m = hashlib.md5()
u = os.uname()
for i in u:
m.update(i)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list