From: tierno Date: Wed, 28 Aug 2019 16:08:25 +0000 (+0000) Subject: change version to be aligned with OSM X-Git-Tag: v6.0.2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=1c65fe49b9e331516127172162cd9bd5cd58b80c;p=osm%2Fcommon.git change version to be aligned with OSM Change-Id: I2753ce279c572c8f06e97083fd4e96a30ef3733f Signed-off-by: tierno --- diff --git a/osm_common/__init__.py b/osm_common/__init__.py index 3073b42..5435050 100644 --- a/osm_common/__init__.py +++ b/osm_common/__init__.py @@ -15,6 +15,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -version = '0.1.19' -# TODO add package version filling commit id with 0's; e.g.: '5.0.0.post11+00000000.dirty-1' -date_version = '2019-02-18' +version = '6.0.2.post0' +date_version = '2019-08-28' diff --git a/osm_common/dbbase.py b/osm_common/dbbase.py index 09eddbc..e9152e5 100644 --- a/osm_common/dbbase.py +++ b/osm_common/dbbase.py @@ -259,7 +259,7 @@ def deep_update_rfc7396(dict_to_change, dict_reference, key_list=None): Nothing happens if no match is found. If the value is None the matched elements are deleted. $key: val In case a dictionary is passed in yaml format, if looks for all items in the array dict_to_change that are dictionaries and contains this equal to . Several keys can be used by yaml - format '{key: val, key: val, ...}'; and all of them mast match. Nothing happens if no match is + format '{key: val, key: val, ...}'; and all of them must match. Nothing happens if no match is found. If value is None the matched items are deleted, otherwise they are edited. $+val If no match if found (see '$val'), the value is appended to the array. If any match is found nothing is changed. A value of None has not sense.