/soc/2012/sanket/www-statscollector: 2fdef3db2642: [BUGFIX] getT...

Sanket Agarwal sanket at soc.pidgin.im
Sat Aug 25 13:55:00 EDT 2012


Changeset: 2fdef3db2642f3e69177c80568be7414157b8196
Author:	 Sanket Agarwal <sanket at soc.pidgin.im>
Date:	 2012-08-25 10:54 +0530
Branch:	 default
URL: http://hg.pidgin.im/soc/2012/sanket/www-statscollector/rev/2fdef3db2642

Description:

[BUGFIX] getTrustedList is not imported; throws HTML 500 status code

diffstat:

 pidgin_stats_collector/statscollector/process.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/pidgin_stats_collector/statscollector/process.py b/pidgin_stats_collector/statscollector/process.py
--- a/pidgin_stats_collector/statscollector/process.py
+++ b/pidgin_stats_collector/statscollector/process.py
@@ -5,7 +5,7 @@ the elements, by adding ``processed'' pa
 
 from statscollector.models import *
 from statscollector.constants import *
-from statscollector.views import *
+import statscollector.views
 from django.db.models import Count
 from lxml import etree
 import pdb
@@ -146,7 +146,7 @@ class Process:
       print prpl_name, irc_server, jabber_connect, jabber_domain
       print irc_server_hash, jabber_connect_hash, jabber_domain_hash
 
-      trusted_server_list = getTrustedList()
+      trusted_server_list = statscollector.views.getTrustedList()
       print jabber_connect, jabber_connect_hash
       if(jabber_connect): print md5.md5(jabber_connect).hexdigest()
 



More information about the Commits mailing list