1
0
Fork 0

Style fixes suggested by pylint.

This commit is contained in:
Adam Kelly 2020-04-22 14:53:22 +01:00
parent 894f76f843
commit fba78d7a0e
26 changed files with 37 additions and 73 deletions

View file

@ -1,12 +1,12 @@
''' send out activitypub messages '''
import json
from urllib.parse import urlparse
from base64 import b64encode
from Crypto.PublicKey import RSA
from Crypto.Signature import pkcs1_15
from Crypto.Hash import SHA256
from django.utils.http import http_date
import json
import requests
from urllib.parse import urlparse
from fedireads import models
from fedireads.tasks import app
@ -93,4 +93,3 @@ def sign_and_send(sender, activity, destination):
if not response.ok:
response.raise_for_status()
return response