diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-02-14 00:54:42 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-02-14 00:54:42 +0000 |
commit | 18bdd894c2026fcdc31ebd8b58fa9313ccdff476 (patch) | |
tree | da2d72377d8eb468e56bd99248b7cf49838f84a3 /share/ConfigFile.py | |
parent | 243db9ef7ae3fc061fc841c51b8c6f20490b3df7 (diff) | |
download | msec-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.py | 1 |
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: |