Skip to content
Snippets Groups Projects
Commit 009028c8 authored by Ladislav Lhotka's avatar Ladislav Lhotka
Browse files

Remove parameter from stamp method.

parent 342d2ec3
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -10,7 +10,7 @@ def contents(*filenames):
setup(
name = "yangson",
packages = ["yangson"],
version = "0.1.38",
version = "0.1.39",
description = "Library for working with YANG schemas and data",
author = "Ladislav Lhotka",
author_email = "lhotka@nic.cz",
......
......@@ -21,7 +21,7 @@ class StructuredValue:
"""
self.timestamp = ts
def stamp(self, ts: datetime = None) -> None:
def stamp(self) -> None:
"""Update the receiver's timestamp to current time."""
self.timestamp = datetime.now()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment