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
Unknown Object (File)
Sat, Feb 22, 10:34
Unknown Object (File)
Tue, Feb 18, 08:26
Unknown Object (File)
Sat, Feb 15, 02:15
Unknown Object (File)
Sat, Feb 15, 01:55
Unknown Object (File)
Wed, Feb 12, 19:08
Unknown Object (File)
Wed, Feb 5, 09:16
Unknown Object (File)
Sun, Feb 2, 07:03
Unknown Object (File)
Sun, Feb 2, 07:02
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.