Merge lp:~joetalbott/charms/trusty/snappy-proposed-image-builder/fix_typo into lp:~canonical-ci-engineering/charms/trusty/snappy-proposed-image-builder/trunk

Proposed by Joe Talbott on 2015-06-04
Status: Merged
Approved by: Joe Talbott on 2015-06-04
Approved revision: 10
Merged at revision: 10
Proposed branch: lp:~joetalbott/charms/trusty/snappy-proposed-image-builder/fix_typo
Merge into: lp:~canonical-ci-engineering/charms/trusty/snappy-proposed-image-builder/trunk
Diff against target: 10 lines (+1/-1)
1 file modified
hooks/actions.py (+1/-1)
To merge this branch: bzr merge lp:~joetalbott/charms/trusty/snappy-proposed-image-builder/fix_typo
Reviewer Review Type Date Requested Status
Thomi Richards (community) 2015-06-04 Approve on 2015-06-04
Review via email: mp+261161@code.launchpad.net

Commit message

Fix typo 'getpwdnam' -> 'getpwnam'.

Description of the change

Fix typo 'getpwdnam' -> 'getpwnam'.

To post a comment you must log in.
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/actions.py'
2--- hooks/actions.py 2015-06-04 21:41:48 +0000
3+++ hooks/actions.py 2015-06-04 22:00:16 +0000
4@@ -80,7 +80,7 @@
5
6 # make sure the user owns their home.
7 group_info = grp.getgrnam(username)
8- user_info = pwd.getpwdnam(username)
9+ user_info = pwd.getpwnam(username)
10 os.chown(home, user_info['pw_uid'], group_info['gr_gid'])
11
12

Subscribers

People subscribed via source and target branches