Skip to content

Conversation

@larsewi
Copy link
Contributor

@larsewi larsewi commented Jun 5, 2025

  • Fixed string having 1 placeholder but 2 substitutions
  • Removed redefention of get_args from line 14
  • commands.py: Removed unused imports

larsewi added 3 commits June 5, 2025 09:10
E.g., the following causes a traceback, due to operator precedence.

```
>>> "%s " + "%s" % ("Hello", "CFEngine")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
```

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
- cfbs.pretty.MODULE_KEYS
- cfbs.pretty.TOP_LEVEL_KEYS
- cfbs.git.git_commit

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi requested review from jakub-nt and victormlg June 5, 2025 07:28
@larsewi larsewi merged commit 4738c43 into cfengine:master Jun 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants