Mercurial > hg > purlService
comparison 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 |
comparison
equal
deleted
inserted
replaced
36:be8640c08d99 | 37:6a0873a913c5 |
---|---|
214 purl = self.getPurl(path) | 214 purl = self.getPurl(path) |
215 | 215 |
216 else: | 216 else: |
217 purl =None | 217 purl =None |
218 | 218 |
219 if update: # wenn update compare this with the purl which is stored in the index.meta file. | 219 # wenn update compare this with the purl which is stored in the index.meta file. |
220 if (driIndexMeta is not None) & (purl!=driIndexMeta): | 220 if (driIndexMeta is not None) & (purl!=driIndexMeta): |
221 #wenn nicht gleich, dann trage die driIndexMeta in die purl db! | 221 #wenn nicht gleich, dann trage die driIndexMeta in die purl db! |
222 purl=driIndexMeta | 222 purl=driIndexMeta |
223 update=True | |
223 | 224 |
224 | 225 |
225 if purl!=None: | 226 if purl!=None: |
226 | 227 |
227 if update: | 228 if update: |