# HG changeset patch # User dwinter # Date 1393866428 -3600 # Node ID 6a0873a913c504896fae32369bc19cb1db4d2141 # Parent be8640c08d993d1a5aab7fc2f3ddd6338a6c7bfe register updated die dri, wenn sie nicht gleich der gespeicherten dri ist, auch wenn update nicht gleich true ist. diff -r be8640c08d99 -r 6a0873a913c5 harvestToPurl.py --- a/harvestToPurl.py Mon Mar 03 17:32:06 2014 +0100 +++ b/harvestToPurl.py Mon Mar 03 18:07:08 2014 +0100 @@ -131,6 +131,6 @@ print "ERROR: path %s does not exist!"%path sys.exit(2) - harvestIndexMeta(path,user,delpath=delpath,replacepath=replacepath,update=True) + harvestIndexMeta(path,user,delpath=delpath,replacepath=replacepath,update=False) diff -r be8640c08d99 -r 6a0873a913c5 managePurls/manageIndexMetaPURLs.py --- 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: