Skip to content

Commit

Permalink
lint fixes;
Browse files Browse the repository at this point in the history
  • Loading branch information
twiddli committed Dec 29, 2017
1 parent 87e6efc commit d8b470d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion happypanda/core/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def sha256_checksum(path, block_size=64 * 1024):
return sha256.hexdigest()


def extract_version(v): return tuple( # noqa: E704
def extract_version(v): return tuple( # noqa: E704
[int(x) for x in (reduce((lambda a, b: a + b), filter(str.isdigit, i)) for i in v.split("."))][:3]) # noqa: E704


Expand Down

0 comments on commit d8b470d

Please sign in to comment.