Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/imh-pyth.../lib/python2....
File: sha.py
# $Id$
[0] Fix | Delete
#
[1] Fix | Delete
# Copyright (C) 2005 Gregory P. Smith (greg@krypto.org)
[2] Fix | Delete
# Licensed to PSF under a Contributor Agreement.
[3] Fix | Delete
[4] Fix | Delete
import warnings
[5] Fix | Delete
warnings.warn("the sha module is deprecated; use the hashlib module instead",
[6] Fix | Delete
DeprecationWarning, 2)
[7] Fix | Delete
[8] Fix | Delete
from hashlib import sha1 as sha
[9] Fix | Delete
new = sha
[10] Fix | Delete
[11] Fix | Delete
blocksize = 1 # legacy value (wrong in any useful sense)
[12] Fix | Delete
digest_size = 20
[13] Fix | Delete
digestsize = 20
[14] Fix | Delete
[15] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function