diff options
author | Giuseppe Lavagetto <lavagetto@users.noreply.github.com> | 2015-04-23 11:28:11 +0200 |
---|---|---|
committer | Giuseppe Lavagetto <lavagetto@users.noreply.github.com> | 2015-04-23 11:28:11 +0200 |
commit | ed29d3e2e286291cb80035e11752494e4eda5cb0 (patch) | |
tree | 52364c995837bbc3eeb70f4b3b27d03e8ffd8c8a /src | |
parent | 7fd561312ff0c71b656253456093da5ac2d44b6b (diff) | |
parent | 1d65aa6a137a759f52017bdf312cd51c3b231eea (diff) |
Merge pull request #79 from DevTable/master
check if ttl is not None in write
Diffstat (limited to 'src')
-rw-r--r-- | src/etcd/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etcd/client.py b/src/etcd/client.py index dc90190..f50e4db 100644 --- a/src/etcd/client.py +++ b/src/etcd/client.py @@ -247,7 +247,7 @@ class Client(object): if value is not None: params['value'] = value - if ttl: + if ttl is not None: params['ttl'] = ttl if dir: |