changeset 5567:a488e4332862

do not use MoinMoin.support.* to import 3rd party code, give dist packages a chance
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 22 Feb 2010 01:51:24 +0100
parents e057c204d628
children 395781ee66d7
files MoinMoin/action/fullsearch.py MoinMoin/search/Xapian/indexing.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/fullsearch.py	Mon Feb 22 01:21:59 2010 +0100
+++ b/MoinMoin/action/fullsearch.py	Mon Feb 22 01:51:24 2010 +0100
@@ -11,7 +11,7 @@
 import re, time
 from MoinMoin.Page import Page
 from MoinMoin import wikiutil
-from MoinMoin.support.parsedatetime.parsedatetime import Calendar
+from parsedatetime.parsedatetime import Calendar
 from MoinMoin.web.utils import check_surge_protect
 
 def checkTitleSearch(request):
--- a/MoinMoin/search/Xapian/indexing.py	Mon Feb 22 01:21:59 2010 +0100
+++ b/MoinMoin/search/Xapian/indexing.py	Mon Feb 22 01:51:24 2010 +0100
@@ -10,11 +10,11 @@
 
 import os, re
 import xapian
+import xappy
 
 from MoinMoin import log
 logging = log.getLogger(__name__)
 
-from MoinMoin.support import xappy
 from MoinMoin.search.builtin import BaseIndex
 from MoinMoin.search.Xapian.tokenizer import WikiAnalyzer
 from MoinMoin.util import filesys