Suppression prints de debug
authorCyril Robert <Cyril Robert cyrilrbt@gmail.com>
Thu, 29 Jul 2010 18:25:40 +0000 (14:25 -0400)
committerCyril Robert <Cyril Robert cyrilrbt@gmail.com>
Thu, 29 Jul 2010 18:25:40 +0000 (14:25 -0400)
auf_references_client/decorators.py
setup.py

index 038c86f..8ccff3e 100644 (file)
@@ -15,7 +15,6 @@ def has_group(group = ""):
     def _dec(view_func):
         def _view(request, *args, **kwargs):
             allowed = False
-            print getattr(settings, 'ROA_MODELS', False)
             if request.user.is_authenticated():
                 try:
                     p = Utilisateur.objects.get(courriel = request.user.email)
@@ -25,10 +24,7 @@ def has_group(group = ""):
                             allowed = True
                             break
                 except:
-                    print "Exception in user code:"
-                    print '-'*60
-                    traceback.print_exc(file=sys.stdout)
-                    print '-'*60
+                    pass
             else:
                 allowed = True
     
index 9e5247c..a9c3e8f 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
 from setuptools import setup, find_packages
 import sys, os
 
-version = '0.4.2'
+version = '0.4.3'
 
 if __name__ == '__main__':
     setup(