Skip to content

Commit

Permalink
user item: fix asking for password_hash change
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Apr 9, 2015
1 parent 32af1aa commit 3bc8ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundlewrap/items/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def ask(self, status):

output = ""
for key in status.info['needs_fixing']:
if key in ('groups', 'password'):
if key in ('groups', 'password', 'password_hash'):
continue
output += "{} {} → {}\n".format(
bold(_ATTRIBUTE_NAMES[key]),
Expand Down

1 comment on commit 3bc8ea6

@bkendinibilir
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixed following error for some of my machines, thx!

WorkerException:

+----- traceback from worker ------
|
| Traceback (most recent call last):
| File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bundlewrap/concurrency.py", line 83, in _worker_process
| return_value = target(_msg['args'], *_msg['kwargs'])
| File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bundlewrap/items/init.py", line 270, in apply
| self.ask(status_before),
| File "", line 122, in ask
| KeyError: u'password_hash'
|
+----------------------------------

! u'password_hash'

!!! There was an error, repeated below.

! u'password_hash'

Please sign in to comment.