diff managePurls/manageIndexMetaPURLs.py @ 37:6a0873a913c5

register updated die dri, wenn sie nicht gleich der gespeicherten dri ist, auch wenn update nicht gleich true ist.
author dwinter
date Mon, 03 Mar 2014 18:07:08 +0100
parents be8640c08d99
children 6d0d7f1c11f2
line wrap: on
line diff
--- a/managePurls/manageIndexMetaPURLs.py	Mon Mar 03 17:32:06 2014 +0100
+++ b/managePurls/manageIndexMetaPURLs.py	Mon Mar 03 18:07:08 2014 +0100
@@ -216,10 +216,11 @@
         else:
             purl =None
             
-        if update: # wenn update compare this with the purl which is stored in the index.meta file.
-            if (driIndexMeta is not None) & (purl!=driIndexMeta):
+        # wenn update compare this with the purl which is stored in the index.meta file.
+        if (driIndexMeta is not None) & (purl!=driIndexMeta):
                 #wenn nicht gleich, dann trage die driIndexMeta in die purl db!
                 purl=driIndexMeta
+                update=True
             
         
         if purl!=None: