From: Eduardo Sousa Date: Thu, 26 Apr 2018 14:43:28 +0000 (+0100) Subject: Fixing typo in dbmemory.py in return messafe for replace() X-Git-Tag: v4.0.0~11 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F6042%2F1;p=osm%2Fcommon.git Fixing typo in dbmemory.py in return messafe for replace() Change-Id: I66fc88386230cc6d53195e1d9f8be9f4cc3e2c85 Signed-off-by: Eduardo Sousa --- diff --git a/osm_common/dbmemory.py b/osm_common/dbmemory.py index c27f846..d7419f4 100644 --- a/osm_common/dbmemory.py +++ b/osm_common/dbmemory.py @@ -94,7 +94,7 @@ class DbMemory(DbBase): raise DbException("Not found entry with filter='{}'".format(filter), HTTPStatus.NOT_FOUND) return None self.db[table][i] = deepcopy(indata) - return {"upadted": 1} + return {"updated": 1} except Exception as e: # TODO refine raise DbException(str(e))