bio2bel / expasy

A Bio2BEL package for converting ExPASy to BEL
MIT License
0 stars 0 forks source link

Code style: Reuse variables #9

Closed cthoyt closed 6 years ago

cthoyt commented 6 years ago

https://github.com/bio2bel/ec/blob/ba377388b0d3fe018b6826e16e2f7310dbb35495/src/bio2bel_expasy/database.py#L123-L131

Since on lines 123 and 124, these values in the dictionary have already been accessed, use them again on lines 128 and 129