- revid = response['query']['pages'][pageid]['revisions'][0]['revid']
- awaitedrevid = self.metadir.pages_get_rv_list( {'id': pageid } )[0]
- if revid != awaitedrevid :
- print "Ignoring %s - Edition conflict detected %s - %s " % ( file , awaitedrevid, revid)
- continue
+ revid = response['query']['pages'][pageid]['revisions'][0]\
+ ['revid']
+ awaitedrevid = self.metadir.pages_get_rv_list({'id': pageid})\
+ [0]
+ if revid != awaitedrevid:
+ print 'warning: edit conflict detected on %s (%s -> %s) ' \
+ '-- skipping!' % (file, awaitedrevid, revid)
+ continue