[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #9988 [BridgeDB]: Refactor BridgeDB's use of `sha` module to use `hashlib` instead.
#9988: Refactor BridgeDB's use of `sha` module to use `hashlib` instead.
----------------------+----------------------
Reporter: isis | Owner: isis
Type: defect | Status: new
Priority: trivial | Milestone:
Component: BridgeDB | Version:
Keywords: bridgedb | Actual Points:
Parent ID: | Points:
----------------------+----------------------
Everytime [https://travis-
ci.org/isislovecruft/bridgedb/jobs/12651411#L1143 the `sha` module is
imported], the following `DeprecationWarning` occurs:
{{{
DeprecationWarning: the sha module is deprecated; use the hashlib module
instead
}}}
We should probably heed its advice. Unless something strange is being done
somewhere with the `sha` module, we should pretty much be able to do
`'s/sha\.sha\(/hashlib\.sha\(/'`.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9988>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs