Skip to content

Error handling templates like "somedir/otherdirs-??/*.ext" in remove-script #242

@adybbroe

Description

@adybbroe

Describe the bug
The recent change to filescleaner.py in #241 fails to properly handle the cases when the configures base-dir template looks like this: "somedir/otherdirs-??/*.ext".

We need to inlcude a test case that catch this and then solve it.

To Reproduce

# Your code here

Expected behavior
A clear and concise description of what you expected to happen.

Actual results
Text output of actual results or error messages including full tracebacks if applicable.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment Info:

  • OS: [e.g. OSX, Windows, Linux]
  • Trollmoves Version: [e.g. 0.9.0]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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