summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-20 20:26:35 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-21 09:02:05 +0000
commitc01c33c0b9a0f06db9bca89ce30ac1337596b4e2 (patch)
tree46ddafffe5c16cbebcfc1f41ce02dee43fccc162 /src/etc
parentef31f70256a2b835b406e76ca51dfb484f3d1b40 (diff)
downloadvyos-1x-c01c33c0b9a0f06db9bca89ce30ac1337596b4e2.tar.gz
vyos-1x-c01c33c0b9a0f06db9bca89ce30ac1337596b4e2.zip
op-mode: T6367: fix "force commit-archive" TypeError
/usr/bin/config-mgmt requires an argument OR to be symbolically linked to *commit-revision or *commit-archive, for which it interprets argv[0] through the useful trickery: https://github.com/vyos/vyos-1x/blob/current/python/vyos/config_mgmt.py#L693-L700 Traceback (most recent call last): File "/usr/bin/config-mgmt", line 33, in <module> sys.exit(load_entry_point('vyos==1.3.0', 'console_scripts', 'config-mgmt')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/vyos/config_mgmt.py", line 746, in run func = getattr(config_mgmt, args['subcommand']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: attribute name must be string, not 'NoneType' (cherry picked from commit 0d6e44179bae5f73d37502884194656b34b1c4f9)
Diffstat (limited to 'src/etc')
0 files changed, 0 insertions, 0 deletions