changeset 1476:25ba2875b406

add xapian version in SystemInfo macro
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Thu, 24 Aug 2006 13:38:38 +0200
parents 925bbdfe0ab9
children 7f5a6374e0e1
files MoinMoin/macro/SystemInfo.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/SystemInfo.py	Wed Aug 23 23:37:17 2006 +0200
+++ b/MoinMoin/macro/SystemInfo.py	Thu Aug 24 13:38:38 2006 +0200
@@ -113,6 +113,7 @@
         ', '.join(wikiutil.wikiPlugins('parser', Macro.cfg)) or nonestr)
 
     from MoinMoin.search.builtin import Search
+    import xapian
     xapState = (_('Disabled'), _('Enabled'))
     idxState = (_('index available'), _('index unavailable'))
     xapRow = xapState[request.cfg.xapian_search]
@@ -127,6 +128,7 @@
         xapRow += ', %s, %s' % (available, mtime)
 
     row(_('Xapian search'), xapRow)
+    row(_('Xapian Version'), xapian.xapian_version_string())
     row(_('Xapian stemming'), xapState[request.cfg.xapian_stemming])
 
     row(_('Active threads'), t_count or _('N/A'))