changeset 1456:fc1f874695e1

Fix missing imports due to Content sepration, discovered with pyflakes
author Cheer Xiao <xiaqqaix@gmail.com>
date Sat, 28 Jul 2012 22:25:18 +0800
parents 4c1d3ec830d0
children 49ab1a99df24
files MoinMoin/items/__init__.py MoinMoin/items/content.py
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sat Jul 28 21:23:18 2012 +0800
+++ b/MoinMoin/items/__init__.py	Sat Jul 28 22:25:18 2012 +0800
@@ -60,7 +60,7 @@
     )
 from MoinMoin.constants.contenttypes import charset, CONTENTTYPE_GROUPS
 
-from .content import content_registry
+from .content import Draw, NonExistentContent, content_registry
 
 
 COLS = 80
--- a/MoinMoin/items/content.py	Sat Jul 28 21:23:18 2012 +0800
+++ b/MoinMoin/items/content.py	Sat Jul 28 22:25:18 2012 +0800
@@ -24,6 +24,8 @@
 from StringIO import StringIO
 from array import array
 
+from werkzeug import is_resource_modified
+
 from flatland import Form, String
 
 from whoosh.query import Term, And