^
take this logic out of web.py and put in central place, like dao.Identifier (i.e. all you need to do in web.py is call idfind.dao.Identifier.identify(q=q) and it takes cares of looking at the cache and testing using Identificator from identify.py).
This was discussed before + it's needed for better code re-use. Right now the twitter processing class and the web module have identical copies of the same code, and changes must be implemented in both places which is bad.
if both fail, return None
^ take this logic out of web.py and put in central place, like dao.Identifier (i.e. all you need to do in web.py is call idfind.dao.Identifier.identify(q=q) and it takes cares of looking at the cache and testing using Identificator from identify.py).
This was discussed before + it's needed for better code re-use. Right now the twitter processing class and the web module have identical copies of the same code, and changes must be implemented in both places which is bad.
It will also help with issues #6, #17.