Skip to content
Snippets Groups Projects
Commit cf5d8269 authored by Dariusz Kędzierski's avatar Dariusz Kędzierski Committed by Jason Salyers
Browse files

Removed unused imports

parent d58d9b4d
Branches
Tags
2 merge requests!456Release candidate v1 24,!370Jsalyers muting at sql level
"""Handles follow operations."""
import logging
from time import perf_counter as perf
from json import dumps
from funcy.seqs import first
from hive.db.adapter import Db
from hive.db.db_state import DbState
from hive.utils.misc import chunks
from hive.indexer.accounts import Accounts
......@@ -74,7 +71,7 @@ class Follow(DbAdapterHolder):
@classmethod
def _validated_op(cls, account, op, date):
"""Validate and normalize the operation."""
if ( not 'what' in op
if (not 'what' in op
or not isinstance(op['what'], list)
or not 'follower' in op
or not 'following' in op):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment