Skip to content

Commit

Permalink
fix #225, dump fails when reading password from stdin (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
besworks authored May 12, 2022
1 parent 424cff7 commit bc1a75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rethinkdb/utils_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def take_action(self, action, dest, opt, value, values, parser):

values.ensure_value(dest, {})[self.metavar.lower()] = value
elif action == "get_password":
values[dest] = getpass.getpass("Password for `admin`: ")
values.ensure_value('password', getpass.getpass("Password for `admin`: "))
else:
super(CommonOptionChecker, self).take_action(
action, dest, opt, value, values, parser
Expand Down

0 comments on commit bc1a75a

Please sign in to comment.