mirror of https://github.com/n1nj4sec/pupy.git
Subclass PupyPackageFinder from object
This commit is contained in:
parent
4965ed12bd
commit
0ad183c284
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue