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
F44733471: D2406.id6049.diff
Tue, Aug 18, 12:00
F44697805: D2406.diff
Tue, Aug 18, 07:24
F44682625: D2406.id6048.diff
Tue, Aug 18, 05:19
F44665095: D2406.id6049.diff
Tue, Aug 18, 03:05
Unknown Object (File)
Mon, Aug 17, 06:29
Unknown Object (File)
Sun, Aug 16, 18:25
Unknown Object (File)
Sun, Aug 16, 18:25
Unknown Object (File)
Sun, Aug 16, 07:58
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.