Skip to content

Commit

Permalink
Fixed: importlib.abc.PyLoader is deprecated in favor of SourceLoader …
Browse files Browse the repository at this point in the history
…in python 3.3.
  • Loading branch information
aparajita committed Jul 28, 2013
1 parent ad66864 commit 637c3d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lint/modules.py
Expand Up @@ -10,7 +10,7 @@

from . import persist

class LintModule(importlib.abc.PyLoader):
class LintModule(importlib.abc.SourceLoader):
@classmethod
def find_module(cls, fullname, path=None):
if fullname == 'lint':
Expand Down Expand Up @@ -70,7 +70,7 @@ def load_all(self):
for mod in glob.glob('{}/*.py'.format(self.path)):
base, name = os.path.split(mod)
name = name.split('.', 1)[0]

This comment has been minimized.

Copy link
@lunixbochs

lunixbochs Oct 22, 2013

Contributor

Cmon.

This comment has been minimized.

Copy link
@aparajita

aparajita Oct 22, 2013

Author Contributor

Did I do something wrong?

if name.startswith('_'):
continue

Expand Down

0 comments on commit 637c3d4

Please sign in to comment.