diff options
| author | qdp-launchpad@tinyerp.com <> | 2010-09-21 12:55:03 +0200 |
|---|---|---|
| committer | qdp-launchpad@tinyerp.com <> | 2010-09-21 12:55:03 +0200 |
| commit | 1ac8b3d991db93c8dac7dc663ec9b002502001dd (patch) | |
| tree | 638c9b1bdd9e340df77d440eb418cc45f34abfe7 /addons/base_module_quality | |
| parent | 5b24dbf82a05b952088b62cc9b1d548e8ccfd908 (diff) | |
| parent | fb2ad5e31d1c43eecff6672baaa8830d7d73c4fe (diff) | |
[MERGE] merge with same branch
bzr revid: qdp-launchpad@tinyerp.com-20100921105503-fgwkfmwpkry1gher
Diffstat (limited to 'addons/base_module_quality')
| -rw-r--r-- | addons/base_module_quality/pylint_test/pylint_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/base_module_quality/pylint_test/pylint_test.py b/addons/base_module_quality/pylint_test/pylint_test.py index f30a7b34be8..102f93c469e 100644 --- a/addons/base_module_quality/pylint_test/pylint_test.py +++ b/addons/base_module_quality/pylint_test/pylint_test.py @@ -54,9 +54,8 @@ class quality_test(base_module_quality.abstract_quality_check): flag = True file_path = os.path.join(module_path, file_py) try: - import pylint res = os.popen('pylint --rcfile=' + config_file_path + ' ' + file_path).read() - except Exception, e: + except Exception: self.error = True self.log.exception("Cannot run pylint test for %s", file_path) self.result += _("Error. Is pylint correctly installed? (http://pypi.python.org/pypi/pylint)")+"\n" |
