Compare commits
No commits in common. "d35fe16cd9ed975ab4f6cb0eb427ce4e3219fa00" and "9c7fb1d50550a68a4f72b8f546adfe04ca96d0cb" have entirely different histories.
d35fe16cd9
...
9c7fb1d505
3 changed files with 1 additions and 13 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
## 1.2.0a11 (2025-02-17)
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
|
|
||||||
- add get remove properties
|
|
||||||
|
|
||||||
## 1.2.0a10 (2025-02-17)
|
## 1.2.0a10 (2025-02-17)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail"
|
name = "rougail"
|
||||||
version = "1.2.0a11"
|
version = "1.2.0a10"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "A consistency handling system that was initially designed in the configuration management"
|
description = "A consistency handling system that was initially designed in the configuration management"
|
||||||
|
|
|
||||||
|
|
@ -84,12 +84,6 @@ class Property:
|
||||||
) -> None:
|
) -> None:
|
||||||
self._properties.setdefault(path, {})[property_] = value
|
self._properties.setdefault(path, {})[property_] = value
|
||||||
|
|
||||||
def get(self, path: str) -> None:
|
|
||||||
return self._properties.setdefault(path, {})
|
|
||||||
|
|
||||||
def remove(self, path: str, property_: str) -> None:
|
|
||||||
del self._properties[path][property_]
|
|
||||||
|
|
||||||
def __getitem__(
|
def __getitem__(
|
||||||
self,
|
self,
|
||||||
path: str,
|
path: str,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue