[copr] master: Change permission enum values, we won't display these (3358343)

bkabrda at fedoraproject.org bkabrda at fedoraproject.org
Fri Jan 11 10:21:07 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 335834396ea1c5a92b7c62eb743020600c1f2af5
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Thu Jan 10 10:40:21 2013 +0100

    Change permission enum values, we won't display these


>---------------------------------------------------------------

 coprs_frontend/coprs/helpers.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/coprs_frontend/coprs/helpers.py b/coprs_frontend/coprs/helpers.py
index c2bf632..632dc54 100644
--- a/coprs_frontend/coprs/helpers.py
+++ b/coprs_frontend/coprs/helpers.py
@@ -9,7 +9,7 @@ def chroots():
                                             for arch in arches]
 
 class PermissionEnum(object):
-    vals = {'No Action': 0, 'Request': 1, 'Approved': 2}
+    vals = {'nothing': 0, 'request': 1, 'approved': 2}
 
     @classmethod
     def num(cls, key):



More information about the copr-devel mailing list