diff options
| author | stepshal <nessento@openmailbox.org> | 2016-07-21 04:13:28 +0700 |
|---|---|---|
| committer | stepshal <nessento@openmailbox.org> | 2016-07-21 04:44:00 +0700 |
| commit | 64335b63f9e03e71d0acd885b8bfd0b4b7a60aa8 (patch) | |
| tree | 91595eed064559aeb56b1f2d52ed001c467427ea /pkg_resources | |
| parent | e6d6f7bd99d7329a5689980ac74c9e227bd0f503 (diff) | |
| download | python-setuptools-git-64335b63f9e03e71d0acd885b8bfd0b4b7a60aa8.tar.gz | |
Put colon-separated compound statement on separate lines.
Diffstat (limited to 'pkg_resources')
| -rw-r--r-- | pkg_resources/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index 15cb93fd..6337db99 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -2837,7 +2837,8 @@ class Requirement(packaging.requirements.Requirement): def _get_mro(cls): """Get an mro for a type or classic class""" if not isinstance(cls, type): - class cls(cls, object): pass + class cls(cls, object): + pass return cls.__mro__[1:] return cls.__mro__ |
