From f16f3978d49b86ec322f6a8f92d759809db5d1c4 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Wed, 17 Apr 2019 20:04:23 +0800 Subject: [PATCH] update type hint --- fake-pve-subscription.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fake-pve-subscription.py b/fake-pve-subscription.py index c0ba7b9..6a95cd9 100755 --- a/fake-pve-subscription.py +++ b/fake-pve-subscription.py @@ -22,7 +22,7 @@ shared_key_data = "kjfdlskfhiuewhfk947368" server_key_file = "/etc/ssh/ssh_host_rsa_key.pub" subscription_file = "/etc/subscription" -def get_timestamp(): +def get_timestamp() -> int: return int(time.time()) # perl's md5_base64 implementation