Skip to content

pkresource._files should not fine root_module twice #610

Description

@robnagler

Something like this:

    for p in list(
        map(
            lambda m: pkinspect.root_package(importlib.import_module(m)),
            packages
        ) if packages
        or [
              pkinspect.root_package(
                  caller_context if caller_context else pkinspect.caller_module()
              )
          ],
    ):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions