Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shadowserver valueerror syntax #2528

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#### Collectors

#### Parsers
- `intelmq.bots.parsers.shadowserver._config`:
- fix error message formatting if schema file is absent (PR#2528 by Sebastian Wagner).

#### Experts

Expand Down
2 changes: 1 addition & 1 deletion docs/user/bots.md
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,7 @@ For example using `curl -s https://interchange.shadowserver.org/intelmq/v1/schem

(optional, boolean) If an existing `feed.name` should be overwritten.

** `auto_update`**
**`auto_update`**

(optional, boolean) Enable automatic schema download.

Expand Down
2 changes: 1 addition & 1 deletion intelmq/bots/parsers/shadowserver/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def reload():
return
else:
if not __config.test_mode:
raise ValueError("The schema file does not exist: %r.", __config.schema_file)
raise ValueError(f"The schema file does not exist: {__config.schema_file}.")

__config.feedname_mapping.clear()
__config.filename_mapping.clear()
Expand Down
Loading