If a news entry is moved to a different category, you get News entry file name incorrectly formatted as an error message.
| ifFILENAME_RE.match(file_path.name) andlen(file["patch"]) >=1: |
| ifnotin_next_dir: |
| description= ( |
| f'No news entry in {util.NEWS_NEXT_DIR} or "skip news" label found' |
| ) |
| elifnotfile_found: |
| description="News entry not in an appropriate directory" |
| else: |
| description="News entry file name incorrectly formatted" |
I spent way too long trying to figure this out.
If a news entry is moved to a different category, you get
News entry file name incorrectly formattedas an error message.bedevere/bedevere/news.py
Line 59 in 504dc34
bedevere/bedevere/news.py
Lines 73 to 80 in 504dc34
I spent way too long trying to figure this out.