Michael Merickel
2017-10-30 c0ca0352ff943d52cede4e4a84e336f6764638ca
fix lint
3 files modified
6 ■■■■ changed files
pyramid/config/settings.py 2 ●●● patch | view | raw | blame | history
pyramid/path.py 2 ●●● patch | view | raw | blame | history
pyramid/util.py 2 ●●● patch | view | raw | blame | history
pyramid/config/settings.py
@@ -74,7 +74,7 @@
            value = eget(env_key, value)
        value = type_(value)
        d.update({k: value for k in keys})
    def O(settings_key, override_key):
    def O(settings_key, override_key):  # noqa: E743
        for key in expand_key(settings_key):
            d[key] = d[key] or d[override_key]
pyramid/path.py
@@ -73,7 +73,7 @@
        # will be the same: a directory name to the package itself
        try:
            package.__abspath__ = prefix
        except:
        except Exception:
            # this is only an optimization, ignore any error
            pass
    return prefix
pyramid/util.py
@@ -583,7 +583,7 @@
                if last_frame.function == 'extract_stack': # pragma: no cover
                    f.pop()
                info = ActionInfo(*f[-backframes])
            except: # pragma: no cover
            except Exception: # pragma: no cover
                info = ActionInfo(None, 0, '', '')
        self._ainfo.append(info)
        try: