diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-01 20:16:15 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-01 20:18:52 +0200 |
commit | 97322236b05c6988eccda2ddc9d48a2d1308c4a0 (patch) | |
tree | 1e91c2badca9535a602882fc2b01020c71ee37cf /devel | |
parent | 617c446aa74e86b5559152693e0251512982225a (diff) | |
download | archweb-97322236b05c6988eccda2ddc9d48a2d1308c4a0.tar.gz archweb-97322236b05c6988eccda2ddc9d48a2d1308c4a0.tar.xz |
Fix stupid mistake in user parsing
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/management/commands/reporead.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index 777ebb9..21021b3 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -161,7 +161,7 @@ def find_user(userstring): for token in name.split(): name_q &= (Q(first_name__icontains=token) | Q(last_name__icontains=token)) - user = User.objects.get(name_q) + return User.objects.get(name_q) for matcher in (user_email, profile_email, user_name): try: |