Skip to content

Commit

Permalink
Correctly check for None condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mcopik committed May 3, 2023
1 parent e1d18d8 commit a08993c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faaskeeper/providers/serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def serialize(node: Node) -> bytes:

created_system = node.created.system.serialize()
modified_system = node.modified.system.serialize()
assert node.modified.epoch
assert node.modified.epoch is not None
epoch_set = node.modified.epoch.version
if epoch_set is None:
epoch_set = set()
Expand Down

0 comments on commit a08993c

Please sign in to comment.