Permalink
Browse files

More false positives in version report

  • Loading branch information...
1 parent c2d2659 commit 60743d480d4407e9127e0578488434acd2e5362c @timf timf committed Sep 19, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/python/epumgmt/main/em_core_versions.py
@@ -3,7 +3,7 @@
import os
FALSE_POSITIVES = ["site-packages", "python2.5", "python2.6", "bin", "plat-linux2", "app",
- "lib-old", "lib-tk", "lib-dynload"]
+ "lib-old", "lib-tk", "lib-dynload", "lib", "pylib"]
class VersionsNode:
def __init__(self, vm):
@@ -147,4 +147,10 @@ def _filter_dep(dep):
return None
if dep in FALSE_POSITIVES:
return None
+ if dep.endswith(".pom"):
+ return None
+ if dep.endswith(".xml"):
+ return None
+ if dep.endswith(".properties"):
+ return None
return dep

0 comments on commit 60743d4

Please sign in to comment.