Skip to content

Commit 6289bc7

Browse files
committed
Fix flake8 errors
1 parent 20a5b19 commit 6289bc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

data_collection_scripts/collect_block_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def collect_data(ledgers, from_block, to_date):
4141
logging.info(f'Done querying {ledger}')
4242
except Exception as e:
4343
if 'Quota exceeded' in repr(e):
44-
logging.info(f'Quota exceeded for this service account key. Aborting..')
44+
logging.info('Quota exceeded for this service account key. Aborting..')
4545
break
4646
else:
4747
logging.info(f'{ledger} query failed, please make sure it is properly defined.')

tests/test_aggregate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55
from consensus_decentralization.helper import INTERIM_DIR
66
from consensus_decentralization.aggregate import aggregate, Aggregator, divide_timeframe
7-
from consensus_decentralization.helper import get_clustering_flag, get_aggregated_data_dir_name
7+
from consensus_decentralization.helper import get_clustering_flag
88

99

1010
@pytest.fixture

0 commit comments

Comments
 (0)