Skip to content

Conversation

@dgw
Copy link
Member

@dgw dgw commented Jan 25, 2021

Description

This takes care of a random note I left myself a while ago, which didn't justify its own issue.

Avoid dict() constructor; always use {} literal instead.

bot.memory['retry_join'] is better as a SopelMemory object, as it's modified from threaded code.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

Avoid `dict()` constructor; always use `{}` literal instead.

`bot.memory['retry_join']` is better as a `SopelMemory` object, as it's
modified from threaded code.
@dgw dgw added the Tweak label Jan 25, 2021
@dgw dgw added this to the 7.1.0 milestone Jan 25, 2021
@dgw dgw requested a review from a team January 25, 2021 18:28
@dgw dgw merged commit c5dffb5 into master Feb 23, 2021
@dgw dgw deleted the coretasks-dict-tweaks branch February 23, 2021 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants