Compare commits
2 commits
63fe8c9b80
...
d4e542d4eb
| Author | SHA1 | Date | |
|---|---|---|---|
| d4e542d4eb | |||
| d0bbca3f5c |
3 changed files with 5 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ class ZoneMeta:
|
|||
self._session = _session
|
||||
self._load(**kwargs)
|
||||
|
||||
def _load(self, id, id_author, default_ttl, last_modified="", commit_message=None, commit_date=None, published=None):
|
||||
def _load(self, id, id_author, default_ttl, last_modified="", commit_message=None, commit_date=None, published=None, parent=None):
|
||||
self.id = id
|
||||
self.id_author = id_author
|
||||
self.default_ttl = default_ttl
|
||||
|
|
@ -18,6 +18,7 @@ class ZoneMeta:
|
|||
self.commit_message = commit_message
|
||||
self.commit_date = commit_date
|
||||
self.published = published
|
||||
self.parent = parent
|
||||
|
||||
def _dumps(self):
|
||||
return json.dumps({
|
||||
|
|
@ -28,6 +29,7 @@ class ZoneMeta:
|
|||
"commit_message": self.commit_message,
|
||||
"commit_date": self.commit_date,
|
||||
"published": self.published,
|
||||
"parent": self.parent,
|
||||
})
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "happydomain"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
authors = [
|
||||
{ name="happyDomain's team", email="contact+pypi@happydomain.org" },
|
||||
]
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -8,7 +8,7 @@ try:
|
|||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
|
||||
setup(
|
||||
name = "happydomain",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue