aboutsummaryrefslogtreecommitdiffstats
path: root/share/ConfigFile.py
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-02-14 00:54:42 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-02-14 00:54:42 +0000
commit18bdd894c2026fcdc31ebd8b58fa9313ccdff476 (patch)
treeda2d72377d8eb468e56bd99248b7cf49838f84a3 /share/ConfigFile.py
parent243db9ef7ae3fc061fc841c51b8c6f20490b3df7 (diff)
downloadmsec-18bdd894c2026fcdc31ebd8b58fa9313ccdff476.tar
msec-18bdd894c2026fcdc31ebd8b58fa9313ccdff476.tar.gz
msec-18bdd894c2026fcdc31ebd8b58fa9313ccdff476.tar.bz2
msec-18bdd894c2026fcdc31ebd8b58fa9313ccdff476.tar.xz
msec-18bdd894c2026fcdc31ebd8b58fa9313ccdff476.zip
corrected warnings reported by pychecker
Diffstat (limited to 'share/ConfigFile.py')
-rw-r--r--share/ConfigFile.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/share/ConfigFile.py b/share/ConfigFile.py
index b041169..582b36e 100644
--- a/share/ConfigFile.py
+++ b/share/ConfigFile.py
@@ -253,7 +253,6 @@ class ConfigFile:
def get_match(self, regex, replace=None):
r=re.compile(regex)
lines = self.get_lines()
- matches = 0
for idx in range(0, len(lines)):
res = r.search(lines[idx])
if res: