Update deprecated module usage.
Update deprecated module usage.

The sha module is deprecated.  Use hashlib.sha1 instead.  This fixes a
Python warning on startup.

twonds/punjab,twonds/punjab,twonds/punjab