Commits

Mike Bayer  committed 4c19440

- fix whitespace, fix #159
- remove unneeded import

  • Participants
  • Parent commits 4cc0af9

Comments (0)

Files changed (1)

File dogpile/cache/util.py

 from hashlib import sha1
 import inspect
-import sys
 import re
 import collections
 from . import compat
 
     def load(self, name):
         if name in self.impls:
-             return self.impls[name]()
-        else: #pragma NO COVERAGE
-            # TODO: if someone has ideas on how to
-            # unit test entrypoint stuff, let me know.
+            return self.impls[name]()
+        else:  # pragma NO COVERAGE
             import pkg_resources
             for impl in pkg_resources.iter_entry_points(
                                 self.group,