Skip to content

Remove duplicate keys from the state_help() mapping #12006

Done

Description

@rjsparks

Describe the issue

The dict that state_help() in ietf/doc/views_help.py uses to map a URL type to a state type and page title has three keys listed twice: bofreq, procmaterials and statement. The duplicates came in with #7206.

Both copies of each key are identical, so nothing breaks today; Python keeps the later one. But a future edit to only one copy would silently have no effect, or silently override the other.

Task

  • Delete the second bofreq, procmaterials and statement entries from the mapping in state_help().
  • Check that /doc/help/state/bofreq/, /doc/help/state/procmaterials/ and /doc/help/state/statement/ still render.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions