batchfetch 1.2.2__tar.gz → 1.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {batchfetch-1.2.2 → batchfetch-1.2.3}/PKG-INFO +1 -1
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch/batchfetch_cli.py +5 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch.egg-info/PKG-INFO +1 -1
- {batchfetch-1.2.2 → batchfetch-1.2.3}/setup.py +1 -1
- {batchfetch-1.2.2 → batchfetch-1.2.3}/LICENSE +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/README.md +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch/__init__.py +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch/batchfetch_base.py +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch/batchfetch_git.py +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch/helpers.py +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch.egg-info/SOURCES.txt +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch.egg-info/dependency_links.txt +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch.egg-info/entry_points.txt +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch.egg-info/requires.txt +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/batchfetch.egg-info/top_level.txt +0 -0
- {batchfetch-1.2.2 → batchfetch-1.2.3}/setup.cfg +0 -0
|
@@ -92,6 +92,11 @@ class BatchFetchCli:
|
|
|
92
92
|
try:
|
|
93
93
|
with open(path, "r", encoding="utf-8") as fhandler:
|
|
94
94
|
yaml_dict = yaml.load(fhandler, Loader=yaml.FullLoader)
|
|
95
|
+
if not isinstance(yaml_dict, dict):
|
|
96
|
+
print(f"Error: Invalid format: {yaml_dict}.",
|
|
97
|
+
file=sys.stderr)
|
|
98
|
+
sys.exit(1)
|
|
99
|
+
|
|
95
100
|
self._loads(dict(yaml_dict))
|
|
96
101
|
except OSError as err:
|
|
97
102
|
raise BatchFetchError(str(err)) from err
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|