diff options
author | Dan McGee <dan@archlinux.org> | 2013-02-26 19:51:40 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-02-26 19:51:40 -0600 |
commit | dd0ecfaeaceb1e1b8a185800de35f0f6e741feac (patch) | |
tree | 5cdb1a5952ec510baac10a719dc7edc8d7d93be2 /packages | |
parent | 9ddee3494f931439e7c47eddee48ec9c6a09e662 (diff) |
Use user.userprofile rather than user.get_profile()
The get_profile() function is deprecated as of Django 1.5.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/views/flag.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views/flag.py b/packages/views/flag.py index edb3f092..5c76e1d5 100644 --- a/packages/views/flag.py +++ b/packages/views/flag.py @@ -110,7 +110,7 @@ def flag(request, name, repo, arch): subject = '%s package [%s] marked out-of-date' % \ (pkg.repo.name, pkg.pkgname) for maint in maints: - if maint.get_profile().notify == True: + if maint.userprofile.notify == True: toemail.append(maint.email) if toemail: |