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
F25547622: D2406.diff
Thu, Apr 16, 12:13
F25531829: D2406.diff
Thu, Apr 16, 06:44
Unknown Object (File)
Wed, Apr 15, 01:21
Unknown Object (File)
Sun, Apr 12, 18:59
Unknown Object (File)
Thu, Apr 9, 02:36
Unknown Object (File)
Tue, Apr 7, 11:43
Unknown Object (File)
Mon, Apr 6, 19:12
Unknown Object (File)
Sun, Apr 5, 03:49
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.