--- a/poll-hgweb-queue.py Fri Aug 05 12:45:49 2016 +0800
+++ b/poll-hgweb-queue.py Fri Aug 05 12:46:39 2016 +0800
logging.info('Got %d current hash(es) from %s', len(hashes), url)
target['hashes'] = hashes
target['etag'] = response.headers.get('ETag', None)
- elif response.code != 304:
+ elif response.code == 304:
+ logging.debug('Not modified: %s', url)
logging.error('Error %d fetching %s', response.code, url)
- logging.debug('Not modified: %s', url)
def push(self, base, changes):