[HOTFIX REQUEST} mirrormanager model.py imports

Matt_Domsch at Dell.com Matt_Domsch at Dell.com
Thu Jun 20 22:29:45 UTC 2013


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 at 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20130620/b06aaa0e/attachment.html>


More information about the infrastructure mailing list