_find_version appears unused

This commit is contained in:
Alex Clark 2013-05-11 20:01:03 -04:00
parent 714211b327
commit 79186baec7

View File

@ -59,12 +59,13 @@ def _find_library_file(self, library):
self.compiler.library_dirs, library)
def _find_version(filename):
for line in open(filename).readlines():
m = re.search("VERSION\s*=\s*\"([^\"]+)\"", line)
if m:
return m.group(1)
return None
# XXX Who or what still uses this?
#def _find_version(filename):
# for line in open(filename).readlines():
# m = re.search("VERSION\s*=\s*\"([^\"]+)\"", line)
# if m:
# return m.group(1)
# return None
def _lib_include(root):