From 4d69491eb622a082601a666b5f0a338bd38f343b Mon Sep 17 00:00:00 2001
From: marco <marco@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Sat, 20 Mar 2010 11:47:20 +0000
Subject: [PATCH] also consider geom classes for class index

previously we were only indexing classes that were inside the
ost namespace.

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1852 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 website/BeauSou2Index.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/BeauSou2Index.py b/website/BeauSou2Index.py
index 1a4bc5d12..544defd6e 100644
--- a/website/BeauSou2Index.py
+++ b/website/BeauSou2Index.py
@@ -28,7 +28,7 @@ def CreateClassIndex(ifile, ofile):
   if not doxrelpath.endswith('/'):
     doxrelpath=doxrelpath+'/'
   for link in Links(ifile):
-    m=re.search('(.*classost.*)',link.get('href'),re.I)
+    m=re.search('(.*class(ost|geom).*)',link.get('href'),re.I)
     if m:
       m2=re.search(r'class([^_]*)',m.group(0))
       if m2:
-- 
GitLab