[library-web] ignore modules that do use a variable name as module name



commit 0980f37c9661e094763875df38b8d1bed1478ce0
Author: Frédéric Péters <fpeters 0d be>
Date:   Wed Apr 6 21:43:59 2011 +0530

    ignore modules that do use a variable name as module name

 src/lgo.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 65ee804..538b347 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -511,6 +511,9 @@ class Lgo(App):
                 else:
                     continue
 
+                if '$(' in doc.modulename:
+                    continue
+
                 if not doc.modulename or doc.modulename in self.config.blacklist:
                     continue
             else:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]