Commit b4bf7360 authored by Ad Schellevis's avatar Ad Schellevis

(dev) additional pattern in function search

parent 82ca8530
...@@ -132,7 +132,7 @@ class DependancyCrawler(object): ...@@ -132,7 +132,7 @@ class DependancyCrawler(object):
""" """
where_used_lst={} where_used_lst={}
for src_filename in self.find_files(): for src_filename in self.find_files():
data = open(src_filename,'r').read().replace('\n',' ') data = open(src_filename,'r').read().replace('\n',' ').replace('\t',' ')
use_list = [] use_list = []
for function in self._all_functions[src]: for function in self._all_functions[src]:
if data.find(' %s(' % (function)) > -1 or \ if data.find(' %s(' % (function)) > -1 or \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment