diff options
author | Sylvain Thenault <sylvain.thenault@logilab.fr> | 2008-12-03 10:03:36 +0100 |
---|---|---|
committer | Sylvain Thenault <sylvain.thenault@logilab.fr> | 2008-12-03 10:03:36 +0100 |
commit | 6e8a6d0646c9a41e3a0209fbfc6212a9653df364 (patch) | |
tree | 5106a9a44dacf750d0a0316450504a18dee98baf /utils.py | |
parent | dbb3782eed13cc1c8361f1265a64e113bd4a088b (diff) | |
download | pylint-6e8a6d0646c9a41e3a0209fbfc6212a9653df364.tar.gz |
cleanup / lint fixes
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -385,7 +385,7 @@ class ReportsHandlerMixIn: from os.path import dirname, basename, splitext, exists, isdir, join, normpath from logilab.common.modutils import modpath_from_file, get_module_files, \ - file_from_modpath, is_relative + file_from_modpath def expand_modules(files_or_modules, black_list): """take a list of files/modules/packages and return the list of tuple @@ -413,8 +413,8 @@ def expand_modules(files_or_modules, black_list): errors.append( {'key' : 'F0003', 'mod': modname} ) continue except ImportError, ex: - errors.append( {'key': 'F0001', 'mod': modname, 'ex': ex} ) - continue + errors.append( {'key': 'F0001', 'mod': modname, 'ex': ex} ) + continue filepath = normpath(filepath) result.append( {'path': filepath, 'name': modname, 'basepath': filepath, 'basename': modname} ) |