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
F7776953: D2406.diff
Fri, May 2, 16:40
F7771085: D2406.id6049.diff
Fri, May 2, 14:09
F7748975: D2406.diff
Fri, May 2, 04:28
Unknown Object (File)
Mon, Apr 28, 17:09
Unknown Object (File)
Sun, Apr 27, 21:53
Unknown Object (File)
Sat, Apr 26, 23:45
Unknown Object (File)
Sat, Apr 26, 07:35
Unknown Object (File)
Thu, Apr 24, 19:20
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.