Cleaned lookup.py

removed extraneous definition.