get rid of most uses of sha module
[mirror/userdir-ldap.git] / misc / ud-update-sudopasswords
index 8e7fea8..292b282 100755 (executable)
@@ -20,7 +20,7 @@
 # the hmac also includes purpose ("sudo") and userid that owns the
 # entry.  This little script updates an ldap from old to new.
 
-import string, re, time, ldap, getopt, sys, os, pwd, posix, socket, base64, sha, shutil, errno, tarfile, grp
+import string, re, time, ldap, getopt, sys, os, pwd, posix, socket, base64, shutil, errno, tarfile, grp
 from userdir_ldap import *;
 
 UUID_FORMAT = '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'