Compare user by id not object equality
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Sun, 23 Dec 2012 11:12:11 +0000 (12:12 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Sun, 23 Dec 2012 11:12:11 +0000 (12:12 +0100)
commitdfc23dd1e16618cdbac0a22261573be3e5d29852
tree8071e88e810b18904cba1bbb2792201c94080995
parent2fb36dac31c56d95a0cadeffe9e57029e35d62ea
Compare user by id not object equality

Elrond correctly remarked that we should be comparing user by id
and not by comparing User objects (as I mistakenly did). He is
right, of course!

Also removing the 2 stray debug prints that were left over.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/user_pages/views.py