diff --git a/pyproject-rpm-macros.spec b/pyproject-rpm-macros.spec index 5c2844b..e0b20f8 100644 --- a/pyproject-rpm-macros.spec +++ b/pyproject-rpm-macros.spec @@ -91,6 +91,7 @@ export HOSTNAME="rpmbuild" # to speedup tox in network-less mock, see rhbz#1856 * Fri Sep 4 2020 Miro HronĨok - 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 - 0-26 - Implement automatic detection of %%lang files in %%pyproject_save_files diff --git a/pyproject_save_files.py b/pyproject_save_files.py index 9706a73..2cc7b98 100755 --- a/pyproject_save_files.py +++ b/pyproject_save_files.py @@ -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: