Johan Hendriks schreef:
Andrew Colin Kissa schreef:
On 10 Nov 2010, at 3:29 PM, Johan Hendriks wrote:
it
would be nice to see the totals of all mail, spam,viruses and Mb's send
in that report page.
This feature has been implemented as requested,
https://github.com/akissa/baruwa/commit/871110639c4951a22c142698cacbc3311dc2facc
Patch attached.
--
Baruwa -www.baruwa.org
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
Hello i applied the patch, but do get the folowing error.
IndentationError at /reports/11/
unexpected indent (views.py, line 322)
Request Method: GET
Request URL: *MailScanner warning: numerical links are often
malicious:* http://192.168.50.200/reports/11/
Django Version: 1.2.3
Exception Type: IndentationError
Exception Value:
unexpected indent (views.py, line 322)
Exception Location:
/usr/local/lib/python2.6/site-packages/django/utils/importlib.py in
import_module, line 35
Python Executable: /usr/local/bin/python
Python Version: 2.6.6
Python Path:
['/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
'/usr/local/lib/python2.6/site-packages/nose-0.11.4-py2.6.egg',
'/usr/local/lib/python2.6/site-packages/zope.interface-3.6.1-py2.6-freebsd-8.1-STABLE-amd64.egg',
'/usr/local/lib/python2.6/site-packages/Beaker-1.5.4-py2.6.egg',
'/usr/local/lib/python2.6/site-packages/MarkupSafe-0.11-py2.6-freebsd-8.1-STABLE-amd64.egg',
'/usr/local/lib/python2.6/site-packages/Babel-0.9.5-py2.6.egg',
'/usr/local/lib/python2.6/site-packages/deluge-1.3.0-py2.6.egg',
'/usr/local/lib/python2.6/site-packages/Mako-0.3.5-py2.6.egg',
'/usr/local/lib/python2.6/site-packages/simplejson-2.1.2-py2.6-freebsd-8.1-STABLE-amd64.egg',
'/usr/local/lib/python2.6/site-packages/lxml-2.3beta1-py2.6-freebsd-8.1-STABLE-amd64.egg',
'/usr/local/lib/python2.6/site-packages/IPy-0.71-py2.6.egg',
'/usr/local/lib/python2.6/site-packages/GeoIP_Python-1.2.4-py2.6-freebsd-8.1-STABLE-amd64.egg',
'/usr/local/lib/python2.6/site-packages/MySQL_python-1.2.3-py2.6-freebsd-8.1-STABLE-amd64.egg',
'/usr/local/lib/python2.6/site-packages/baruwa-1.0.0-py2.6.egg',
'/usr/local/lib/python26.zip', '/usr/local/lib/python2.6',
'/usr/local/lib/python2.6/plat-freebsd8',
'/usr/local/lib/python2.6/lib-tk', '/usr/local/lib/python2.6/lib-old',
'/usr/local/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/site-packages',
'/usr/local/lib/python2.6/site-packages/Numeric',
'/usr/local/lib/python2.6/site-packages/PIL',
'/usr/local/kde4/lib/python2.6/site-packages',
'/usr/local/lib/python2.6/site-packages/gst-0.10',
'/usr/local/lib/python2.6/site-packages/gtk-2.0']
Server time: Mon, 15 Nov 2010 09:35:51 +0000
Regards,
Johan Hendriks
--
Dit bericht is gescanned op virussen en andere gevaarlijke
inhoud door *MailScanner* <http://www.mailscanner.info/> en lijkt
schoon te zijn.
MailScanner bedankt ttec Computers <http://www.ttec.nl/> voor hun
ondersteuning.
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
Nevermind this issue, i used copy past to apply the patch, i learned,
that you can not use TAB in the files.
One more thing, the totals are not displayed.
But if i do a print preview, i can see the totals.!
regards,
Johan Hendriks
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa