diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-26 16:06:59 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-26 16:06:59 +0300 |
commit | 811bf5281159d804fd6ffa76ef55aa1b19573a5c (patch) | |
tree | b12dc74568747ae7c9faa1eff6615c72ab81fd4f /astroid/manager.py | |
parent | bf8e5410afed79c243466e06c61bc5c994dda00f (diff) | |
download | astroid-git-811bf5281159d804fd6ffa76ef55aa1b19573a5c.tar.gz |
Fix pylint errors.
Diffstat (limited to 'astroid/manager.py')
-rw-r--r-- | astroid/manager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/astroid/manager.py b/astroid/manager.py index 6752717e..d78515d7 100644 --- a/astroid/manager.py +++ b/astroid/manager.py @@ -127,7 +127,7 @@ class AstroidManager(object): return self._build_stub_module(modname) try: module = modutils.load_module_from_name(modname) - except Exception as ex: + except Exception as ex: # pylint: disable=broad-except msg = 'Unable to load module %s (%s)' % (modname, ex) util.reraise(exceptions.AstroidBuildingException(msg)) return self.ast_from_module(module, modname) @@ -226,7 +226,7 @@ class AstroidManager(object): except AttributeError: msg = 'Unable to get module for %s' % safe_repr(klass) util.reraise(exceptions.AstroidBuildingException(msg)) - except Exception as ex: + except Exception as ex: # pylint: disable=broad-except msg = ('Unexpected error while retrieving module for %s: %s' % (safe_repr(klass), ex)) util.reraise(exceptions.AstroidBuildingException(msg)) @@ -235,7 +235,7 @@ class AstroidManager(object): except AttributeError: msg = 'Unable to get name for %s' % safe_repr(klass) util.reraise(exceptions.AstroidBuildingException(msg)) - except Exception as ex: + except Exception as ex: # pylint: disable=broad-except exc = ('Unexpected error while retrieving name for %s: %s' % (safe_repr(klass), ex)) util.reraise(exceptions.AstroidBuildingException(exc)) |