summaryrefslogtreecommitdiffstats
path: root/packages/views
diff options
context:
space:
mode:
Diffstat (limited to 'packages/views')
-rw-r--r--packages/views/flag.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views/flag.py b/packages/views/flag.py
index edb3f09..5c76e1d 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: