comparison version.py @ 325:7a734dba4cac

wrote back _cache
author Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca>
date Fri, 13 Jun 2008 11:14:59 -0400
parents ce79bf5fa463
children
comparison
equal deleted inserted replaced
324:ce79bf5fa463 325:7a734dba4cac
2 import imp as _imp 2 import imp as _imp
3 import sys 3 import sys
4 import os 4 import os
5 5
6 6
7 _cache = dict()
7 8
8 def src_version(module_name): 9 def src_version(module_name):
9 """Return compact identifier of module code. 10 """Return compact identifier of module code.
10 11
11 @return: compact identifier of module code. 12 @return: compact identifier of module code.