Remove a no longer useful warning for unrecognized files in %pyproject_save_files
The warning is not actionable and with +auto even redundant.
This commit is contained in:
parent
c1d5d64f8c
commit
80a2764884
@ -91,6 +91,7 @@ export HOSTNAME="rpmbuild" # to speedup tox in network-less mock, see rhbz#1856
|
||||
* Fri Sep 4 2020 Miro Hrončok <miro@hroncok.cz> - 0-27
|
||||
- Make code in $PWD importable from %%pyproject_buildrequires
|
||||
- Only require toml for projects with pyproject.toml
|
||||
- Remove a no longer useful warning for unrecognized files in %%pyproject_save_files
|
||||
|
||||
* Mon Aug 24 2020 Tomas Hrnciar <thrnciar@redhat.com> - 0-26
|
||||
- Implement automatic detection of %%lang files in %%pyproject_save_files
|
||||
|
@ -2,7 +2,6 @@ import argparse
|
||||
import csv
|
||||
import fnmatch
|
||||
import os
|
||||
import warnings
|
||||
|
||||
from collections import defaultdict
|
||||
from pathlib import PosixPath, PurePosixPath
|
||||
@ -246,7 +245,6 @@ def classify_paths(
|
||||
add_lang_to_module(paths, module_dir.name, path)
|
||||
break
|
||||
else:
|
||||
warnings.warn(f"Unrecognized file: {path}")
|
||||
if path.suffix == ".mo":
|
||||
add_lang_to_module(paths, None, path) or paths["other"]["files"].append(path)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user