Skip to content

Commit

Permalink
version 1.0.2, fix not sending policy modifications to server
Browse files Browse the repository at this point in the history
  • Loading branch information
dansan committed Mar 25, 2021
1 parent 98e8caa commit 27b16b2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
History
=======

1.0.2 (2021-03-25)
------------------

* Fix not sending policy modifications to server.

1.0.1 (2021-02-10)
------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.1
current_version = 1.0.2
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
python_requires=">=3.6",
scripts=["update_openapi_client"],
url="https://github.com/univention/python-udm-rest-api-client",
version="1.0.1",
version="1.0.2",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion udm_rest_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
]
__author__ = """Daniel Troeder"""
__email__ = "troeder@univention.de"
__version__ = "1.0.1"
__version__ = "1.0.2"
1 change: 1 addition & 0 deletions udm_rest_client/base_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@ async def save(self) -> "UdmObject": # noqa: C901
(new_k, set(new_v)) for new_k, new_v in old_policies.items()
):
continue
diff_dict[k] = v
elif k == "position" and v:
diff_dict[k] = v # always set position
else:
Expand Down

0 comments on commit 27b16b2

Please sign in to comment.