changeset 23:47ec4facdf1c

minor
author dwinter
date Wed, 29 Feb 2012 19:57:44 +0100
parents d97e5e989c43
children 319b57c70203
files MPIWGThesaurus.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MPIWGThesaurus.py	Wed Feb 29 14:58:18 2012 +0100
+++ b/MPIWGThesaurus.py	Wed Feb 29 19:57:44 2012 +0100
@@ -270,7 +270,8 @@
                     projs=[projs]
                 
                 for proj in projs:
-                    
+                    if proj is None:
+                        continue
                     projectID=proj[0]
                     logging.debug("PTS"+repr(projectTags))
                     project=projectTags.get(projectID,projectHolder(projectID))
@@ -1641,4 +1642,4 @@
 
 
     if RESPONSE is not None:
-        redirect(RESPONSE,'manage_main')
\ No newline at end of file
+        redirect(RESPONSE,'manage_main')