projects
/
flowspy
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea7e3eb
)
Altered tech_c mail fetch in views
author
Leonidas Poulopoulos
<leopoul@noc.grnet.gr>
Fri, 10 Feb 2012 13:38:58 +0000
(15:38 +0200)
committer
Leonidas Poulopoulos
<leopoul@noc.grnet.gr>
Fri, 10 Feb 2012 13:38:58 +0000
(15:38 +0200)
flowspec/views.py
patch
|
blob
|
history
diff --git
a/flowspec/views.py
b/flowspec/views.py
index
0d7d91c
..
e975e07
100644
(file)
--- a/
flowspec/views.py
+++ b/
flowspec/views.py
@@
-355,9
+355,10
@@
def get_peer_techc_mails(user):
techmails_list = []
user_mail = "%s" %user.email
user_mail = user_mail.split(';')
- techmails = user.get_profile().peer.techc()
+ techmails = user.get_profile().peer.techc_emails.all()
if techmails:
- techmails_list = techmails.split(';')
+ for techmail in techmails:
+ techmails_list.append(techmail.email)
if settings.NOTIFY_ADMIN_MAILS:
additional_mail = settings.NOTIFY_ADMIN_MAILS
# mail.extend(user_mail)