From 3809a8b8e231d7eb22935cf78225121b9043e7fe Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 17 Jan 2013 12:18:14 +0100 Subject: [PATCH] import db.sql.util -> db.util Merging an old branch, I reintroduced an import of db.sql.util rather than db.util. Fixing the glitch. Signed-off-by: Sebastian Spaeth --- mediagoblin/db/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index 1c6cbda7..782bf869 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -95,7 +95,7 @@ class User(Base, UserMixin): # Delete now unused tags # TODO: import here due to cyclic imports!!! This cries for refactoring - from mediagoblin.db.sql.util import clean_orphan_tags + from mediagoblin.db.util import clean_orphan_tags clean_orphan_tags(commit=False) # Delete user, pass through commit=False/True in kwargs