Prevent unhandled exception on non-existant user.
authorBen Sturmfels <ben@sturm.com.au>
Sun, 23 Aug 2015 10:37:15 +0000 (20:37 +1000)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 5 Nov 2015 20:49:36 +0000 (14:49 -0600)
commitbe2621a43c44b385a72b4d9905b4dc11435afe67
treefe9260f8ed762c2685e3aeef5733aa410ef8f01d
parent03bb1b7907d2d0fa522bf4705e4891494839da09
Prevent unhandled exception on non-existant user.

These changes bring `makeadmin` and `changepw` in-line with the approach used in `deleteuser`.

I've also made the error messages more consistent: list the username and full sentences.
mediagoblin/gmg_commands/users.py