Skip to content

Empty file base_engine.py #158

@jayvdb

Description

@jayvdb

The openSUSE rpm linter errors when there is an empty python file, so I needed to delete base_engine.py for the rpm, or fill it. I am fairly confident this rule will also be present in the RedHat rpm linter.

Deleting the file worked fine.

I've now changed that to

echo '"""Base engine."""' > $RPM_BUILD_DIR/moban-%{version}/moban/base_engine.py

It isnt good for the rpm version to be containing different source, but it seems this file isnt used, or isnt critical. If it is being used somehow, we could include a docstring in the repo, so this workaround isnt needed in the .spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions