We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88fc639 commit 5c39b0cCopy full SHA for 5c39b0c
src/pyconverter/xml2py/utils/utils.py
@@ -20,6 +20,7 @@
20
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
# SOFTWARE.
22
23
+import logging
24
from pathlib import Path
25
from typing import Tuple, Union
26
@@ -84,6 +85,12 @@ def get_warning_command_dict(yaml_path: Path) -> dict:
84
85
except KeyError:
86
warning_command_dict[command] = [message]
87
88
+ if warning_command_dict == {}:
89
+ logging.info("No warning commands found in the YAML file.")
90
+
91
+ else:
92
+ logging.info("Warning commands found in the YAML file.")
93
94
return warning_command_dict
95
96
0 commit comments