code cleanup
This commit is contained in:
@@ -84,6 +84,7 @@ def handle_remote_webfinger(query):
|
||||
return None
|
||||
return user
|
||||
|
||||
|
||||
def subscribe_remote_webfinger(query):
|
||||
"""get subscribe template from other servers"""
|
||||
template = None
|
||||
@@ -112,6 +113,7 @@ def subscribe_remote_webfinger(query):
|
||||
|
||||
return template
|
||||
|
||||
|
||||
def get_edition(book_id):
|
||||
"""look up a book in the db and return an edition"""
|
||||
book = models.Book.objects.select_subclasses().get(id=book_id)
|
||||
|
Reference in New Issue
Block a user