changeset 48:cb20308fe412

closed: small bug in export (https://otrs.mpiwg-berlin.mpg.de/otrs/index.pl?Action=AgentTicketZoom;TicketID=38)
author dwinter
date Thu, 05 Dec 2013 13:11:41 +0100
parents efdbe9eb2403
children 0610142a2550
files MPIWGThesaurus.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MPIWGThesaurus.py	Mon Nov 25 08:12:11 2013 +0100
+++ b/MPIWGThesaurus.py	Thu Dec 05 13:11:41 2013 +0100
@@ -286,7 +286,7 @@
                     logging.debug(tagsOfType)
                     tagsOfType.add(subTag.decode('utf-8'))
                                   
-                    logging.debug("Adding %s to %s"%(subTag,projectID))
+                    #logging.debug("Adding %s to %s"%(subTag,projectID))
                     project.tags[tag]=tagsOfType
                     
                     projectTags[projectID]=project
@@ -857,7 +857,7 @@
         for tagType in tagTypes:
             
             #retHash[tagType]=[]
-            tagCnt=0
+            
 
             tags =self.getTagsFromDB(projectID, tagType)
             if len(tags) !=0:
@@ -867,7 +867,7 @@
             
         if tagCnt==0:
             return None
-        
+                      
         return retHash