typo: added word + deleted trailing spaces

This commit is contained in:
Sami Mokaddem 2017-12-12 11:16:40 +01:00
parent 860acbf7cf
commit 05b22e8963

View file

@ -19,7 +19,7 @@ Depending on the configuration, this module will process the feed as follow:
- Elseif, the saved content associated with the paste is not the same, process it - Elseif, the saved content associated with the paste is not the same, process it
- Else, do not process it but keep track for statistics on duplicate - Else, do not process it but keep track for statistics on duplicate
operation_mode 3: "Don't look if duplicate" operation_mode 3: "Don't look if duplicated content"
- Simply do not bother to check if it is a duplicate - Simply do not bother to check if it is a duplicate
Note that the hash of the content is defined as the sha1(gzip64encoded). Note that the hash of the content is defined as the sha1(gzip64encoded).
@ -126,7 +126,7 @@ if __name__ == '__main__':
# Keep duplicate coming from different sources # Keep duplicate coming from different sources
elif operation_mode == 2: elif operation_mode == 2:
# Filter to avoid duplicate # Filter to avoid duplicate
content = server.get('HASH_'+paste_name) content = server.get('HASH_'+paste_name)
if content is None: if content is None:
# New content # New content