Page MenuHomeDevCentral

Define commands as a dictionary instead of a tuple
ClosedPublic

Authored by dereckson on Sep 4 2021, 20:15.
Tags
None
Referenced Files
F3745665: D2406.id6048.diff
Fri, Nov 15, 16:26
F3745376: D2406.diff
Fri, Nov 15, 14:32
F3743817: D2406.id.diff
Fri, Nov 15, 00:29
Unknown Object (File)
Thu, Nov 14, 13:06
Unknown Object (File)
Tue, Nov 12, 13:07
Unknown Object (File)
Sun, Nov 10, 22:15
Unknown Object (File)
Thu, Nov 7, 20:38
Unknown Object (File)
Thu, Nov 7, 05:14
Subscribers
None

Details

Reviewers
dereckson
Maniphest Tasks
Unknown Object (Maniphest Task)
Commits
rOPS4509fe3de0a0: Define commands as a dictionary instead of a tuple
Summary

The extraneous comma made commands parsed as a tuple,
not as intended as a dictionary.

This caused any issue to fail the following test:
<command> in commands, as the tuple doesn't have named keys.

Ref T1647.

Test Plan

bats scripts/bats/test_edit_acme_dns_accounts.sh

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Errors
SeverityLocationCodeMessage
Errorroles/paas-docker/letsencrypt/files/edit-acme-dns-accounts.py:107E501flake8 E501
Unit
No Test Coverage
Branch
fix-tuple-edit-acme-dns-accounts
Build Status
Buildable 3732
Build 3982: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sep 4 2021, 20:15
This revision was landed with ongoing or failed builds.Sep 4 2021, 20:15
This revision was automatically updated to reflect the committed changes.