Skip to content

Conversation

@daviewales
Copy link
Contributor

@daviewales daviewales commented May 13, 2025

The config module imports password. Previously, the setPassword method used the conflicting argument name password, which shadowed the name of the imported module. It also attemptd to use the shadowed module name if self.pw was None, which means that sometimes the method would work, and sometimes it wouldn't.

I've resolved this by renaming the argument name to password_value.

(Needed by #2039)

The config module imports `password`. Previously, the `setPassword`
method used the conflicting argument name `password`, which shadowed the
name of the imported module. It also attemptd to _use_ the shadowed
module name if `self.pw` was None, which means that sometimes the method
would work, and sometimes it wouldn't.

I've resolved this by renaming the argument name to `password_value`.
@buhtz buhtz merged commit daeac6d into bit-team:dev May 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants