##// END OF EJS Templates
Use proper logging message when the synced post is up to date
neko259 -
r1848:6a5309f4 default
parent child Browse files
Show More
@@ -194,7 +194,7 b' class SyncManager:'
194 version = int(tag_content.find(TAG_VERSION).text)
194 version = int(tag_content.find(TAG_VERSION).text)
195 is_old = exists and global_id.post.version < version
195 is_old = exists and global_id.post.version < version
196 if exists and not is_old:
196 if exists and not is_old:
197 print('Post with same ID exists and is up to date.')
197 logger.debug('Post {} exists and is up to date.'.format(global_id))
198 else:
198 else:
199 global_id.content = content_str
199 global_id.content = content_str
200 global_id.save()
200 global_id.save()
General Comments 0
You need to be logged in to leave comments. Login now