diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2014-12-14 21:53:59 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2014-12-14 21:53:59 +0800 |
commit | c0169f29abd37dcc8c29510343755c5034a0751a (patch) | |
tree | 1ef475232d43269d0d0ef4c006fcf26e2b1a2354 /tools | |
parent | fe7734dcb4ee15221b5dd006ea269ddf2f42e4b2 (diff) | |
parent | c15b8c6274794b766847a6a9c1651caeaa1e25c5 (diff) | |
download | hercules-c0169f29abd37dcc8c29510343755c5034a0751a.tar.gz hercules-c0169f29abd37dcc8c29510343755c5034a0751a.tar.bz2 hercules-c0169f29abd37dcc8c29510343755c5034a0751a.tar.xz hercules-c0169f29abd37dcc8c29510343755c5034a0751a.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/validateinterfaces.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/validateinterfaces.py b/tools/validateinterfaces.py index b34bd6233..87ff46a85 100755 --- a/tools/validateinterfaces.py +++ b/tools/validateinterfaces.py @@ -177,7 +177,7 @@ def checkLostFile(tracker, cFile): m = methodRe.search(line) if m != None: name = "{0}_{1}".format(m.group("ifname"), m.group("method")) - if m.group("ifname") not in tracker.interfaces: + if name[:name.find("_")] not in tracker.interfaces and m.group("ifname") not in tracker.interfaces: continue if name not in tracker.fullmethods: # print "src : " + line |