Fix a few uncommon pylint errors in compat.py
authorGuido Trotter <ultrotter@google.com>
Tue, 29 Jun 2010 12:07:21 +0000 (13:07 +0100)
committerGuido Trotter <ultrotter@google.com>
Tue, 29 Jun 2010 14:30:28 +0000 (15:30 +0100)
commit23e0ef8ca3f2203ec96f0acbc7649c2e7cda7841
tree6c32cc21311ce75edc03dfe728e40ca7e40996d3
parent37e62cb9dbcec1ed8a08f2747db677aef2309026
Fix a few uncommon pylint errors in compat.py

- It's ok if the optional modules functools, roman and hashlib are not there.
- It's ok to reference any and all before defining them. We're doing all
  this exactly because, under python 2.4, they are undefined.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/compat.py
lib/utils.py