diff rhodecode/lib/auth.py @ 2105:926f55b038bc beta

added initial rc-extension module - possible to store additional mappings for stats - possible to overwrite and add to whoosh index extensions issue #322 - post create repo hook callback - post push/pull hooks callback
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 06 Mar 2012 23:03:10 +0200
parents f0649c7cf94a
children 8ecfed1d8f8b
line wrap: on
line diff
--- a/rhodecode/lib/auth.py	Mon Mar 05 16:58:55 2012 +0200
+++ b/rhodecode/lib/auth.py	Tue Mar 06 23:03:10 2012 +0200
@@ -655,7 +655,7 @@
 
         for perm in perms:
             if perm not in available_perms:
-                raise Exception("'%s' permission in not defined" % perm)
+                raise Exception("'%s' permission is not defined" % perm)
         self.required_perms = set(perms)
         self.user_perms = None
         self.granted_for = ''