mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
typo: added word + deleted trailing spaces
This commit is contained in:
parent
860acbf7cf
commit
05b22e8963
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue