Reported in https://fedorahosted.org/fedora-infrastructure/ticket/3849, non-sysadmin FAS users logging into the admin interface get an HTTP 500 error. That's most of our mirror admins. This fixes it. Tested in staging.
+1s requested.
Thanks, Matt
From af5dcda8cda236bbb34c0317168ca356656e5da0 Mon Sep 17 00:00:00 2001
From: Matt Domsch Matt_Domsch@dell.com Date: Thu, 20 Jun 2013 17:13:06 -0500 Subject: [PATCH] model.py: fix sqlbuilder imports
--- server/mirrormanager/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/mirrormanager/model.py b/server/mirrormanager/model.py index 5ac4a92..bba2ee7 100644 --- a/server/mirrormanager/model.py +++ b/server/mirrormanager/model.py @@ -1,6 +1,6 @@ from sqlobject import * from sqlobject.converters import sqlrepr -from sqlobject.sqlbuilder import RLIKE +from sqlobject.sqlbuilder import RLIKE, AND, OR, INNERJOINOn from turbogears import identity, config from datetime import datetime import time -- 1.8.1.4
-- Matt Domsch Distinguished Engineer, Technology Strategist Dell | Office of the CTO
+1, looks easy enough.
-Ricky
On 06/20/2013 06:29 PM, Matt_Domsch@Dell.com wrote:
Reported in https://fedorahosted.org/fedora-infrastructure/ticket/3849, non-sysadmin FAS users logging into the admin interface get an HTTP 500 error. That’s most of our mirror admins. This fixes it. Tested in staging.
+1s requested.
Thanks, Matt
From af5dcda8cda236bbb34c0317168ca356656e5da0 Mon Sep 17 00:00:00 2001
From: Matt Domsch Matt_Domsch@dell.com
Date: Thu, 20 Jun 2013 17:13:06 -0500
Subject: [PATCH] model.py: fix sqlbuilder imports
server/mirrormanager/model.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/mirrormanager/model.py b/server/mirrormanager/model.py
index 5ac4a92..bba2ee7 100644
--- a/server/mirrormanager/model.py
+++ b/server/mirrormanager/model.py
@@ -1,6 +1,6 @@
from sqlobject import *
from sqlobject.converters import sqlrepr
-from sqlobject.sqlbuilder import RLIKE
+from sqlobject.sqlbuilder import RLIKE, AND, OR, INNERJOINOn
from turbogears import identity, config
from datetime import datetime
import time
--
1.8.1.4
*--*
*Matt Domsch*
Distinguished Engineer, Technology Strategist
*Dell*| Office of the CTO**
infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure
infrastructure@lists.fedoraproject.org