summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2008-12-03 10:03:36 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2008-12-03 10:03:36 +0100
commitfc6a68b5523b1e65bd05af3931f199e2ab161edb (patch)
treedfb721c18af5d1bb5fdf5152ff52f7504bc367ed /utils.py
parent981405eb15d8bfeb5d92db138658ad530f8e2255 (diff)
downloadpylint-git-fc6a68b5523b1e65bd05af3931f199e2ab161edb.tar.gz
cleanup / lint fixes
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils.py b/utils.py
index c97ecdfa4..591aeb70a 100644
--- a/utils.py
+++ b/utils.py
@@ -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} )