Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 8cc9b0690b0117f03d1297cd5e6721662b0bb657
Author: Bohuslav Kabrda <bkabrda(a)redhat.com>
Date: Thu Jan 10 14:26:15 2013 +0100
Return all choices from enum by default
---------------------------------------------------------------
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 632dc54..b6ae123 100644
--- a/coprs_frontend/coprs/helpers.py
+++ b/coprs_frontend/coprs/helpers.py
@@ -23,7 +23,7 @@ class PermissionEnum(object):
raise KeyError('num {0} is not mapped'.format(num))
@classmethod
- def choices_list(cls, without = 2):
+ def choices_list(cls, without = -1):
return [(n, k) for k, n in cls.vals.items() if n != without]
class Paginator(object):