Skip to content

Commit 3b15e09

Browse files
authored
Merge pull request #2198 from certtools/fix-2197
intelmqsetup: Fix #2197
2 parents 5c770e1 + d7ced2e commit 3b15e09

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ CHANGELOG
108108

109109
### Tools
110110
- `intelmqctl`: fix process manager initialization if run non-interactively, as intelmqdump does it (PR#2189 by Sebastian Wagner, fixes 2188).
111+
- `intelmqsetup`: Revised installation of manager by building the static files at setup, not build time, making it behave more meaningful. Requires intelmq-manager >= 3.1.0 (PR#2198 by Sebastian Wagner, fixes #2197).
111112

112113
### Contrib
113114
- logrotate: Move compress and ownership rules to the IntelMQ-blocks to prevent that they apply to other files (PR#2111 by Sebastian Wagner, fixes #2110).

intelmq/bin/intelmqsetup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
try:
3535
import intelmq_api
36+
import intelmq_api.version
3637
except ImportError:
3738
intelmq_api = None
3839

@@ -320,7 +321,7 @@ def main():
320321
intelmqsetup_core(ownership=not args.skip_ownership,
321322
state_file=args.state_file)
322323
if intelmq_api and not args.skip_api:
323-
print(f'Running setup for intelmq-api (version {intelmq_api.version}).')
324+
print(f'Running setup for intelmq-api (version {intelmq_api.version.__version__}).')
324325
intelmqsetup_api(ownership=not args.skip_ownership,
325326
webserver_user=args.webserver_user)
326327
if not args.skip_webserver:

0 commit comments

Comments
 (0)