Subclass PupyPackageFinder from object

This commit is contained in:
Oleksii Shevchuk 2017-04-04 17:06:03 +03:00
parent 4965ed12bd
commit 0ad183c284
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ class PupyPackageLoader:
class PupyPackageFinderImportError(ImportError):
pass
class PupyPackageFinder:
class PupyPackageFinder(object):
def __init__(self, path=None):
if path and not path.startswith('pupy://'):
raise PupyPackageFinderImportError()