|
|
@ -522,9 +522,6 @@ class PkgutilMethod(FinderMethod):
|
|
|
|
|
|
|
|
|
|
|
|
# workaround for special python modules that might only exist in memory
|
|
|
|
# workaround for special python modules that might only exist in memory
|
|
|
|
if is_special and is_pkg and not source:
|
|
|
|
if is_special and is_pkg and not source:
|
|
|
|
# jjj
|
|
|
|
|
|
|
|
# hope this raises an error
|
|
|
|
|
|
|
|
raise ValueError(fullname)
|
|
|
|
|
|
|
|
source = '\n'
|
|
|
|
source = '\n'
|
|
|
|
except (AttributeError, ImportError):
|
|
|
|
except (AttributeError, ImportError):
|
|
|
|
# - Per PEP-302, get_source() and is_package() are optional,
|
|
|
|
# - Per PEP-302, get_source() and is_package() are optional,
|
|
|
|