Skip to content

Commit b7dca1a

Browse files
committed
update per pr comments
1 parent 98d8760 commit b7dca1a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pretix_eth/network/tokens.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ def __init__(self):
4646
self._set_other_token_constants()
4747

4848
def _validate_class_variables(self):
49-
if not (
50-
self.NETWORK_IDENTIFIER
51-
and self.NETWORK_VERBOSE_NAME
52-
and self.NETWORK_UNISWAP_NAME
53-
and self.TOKEN_SYMBOL
54-
):
49+
if not all([
50+
self.NETWORK_IDENTIFIER,
51+
self.NETWORK_VERBOSE_NAME,
52+
self.NETWORK_UNISWAP_NAME,
53+
self.TOKEN_SYMBOL
54+
]):
5555
raise ValueError(
5656
"Please provide network_identifier, verbose name, "
5757
+ "uniswap url name, token symbol for this class"

0 commit comments

Comments
 (0)