summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
2716a11)
Issue-Id: OAM-221
Change-Id: I8078f05e86db23cb02f08c435a21cca14226d24a
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
import sys
import yaml
from pathlib import Path
import sys
import yaml
from pathlib import Path
+from _datetime import timezone
def sendVesEvent(data):
url = data['config']['vesEndpoint']['url']
def sendVesEvent(data):
url = data['config']['vesEndpoint']['url']
sys.exit('Reading VES "stndDefined" message template failed.')
def getInitData(domain, stndBody=''):
sys.exit('Reading VES "stndDefined" message template failed.')
def getInitData(domain, stndBody=''):
- currentTime = datetime.datetime.utcnow()
+ currentTime = datetime.datetime.now(tz=timezone.utc)
dir = os.path.dirname(os.path.realpath(__file__))
result = {}
dir = os.path.dirname(os.path.realpath(__file__))
result = {}