Commit eba92e5d authored by Ahmed Bilal's avatar Ahmed Bilal 💬

only remove key key if exists

parent 90f2b370
......@@ -13,7 +13,8 @@ class SpecificEtcdEntryBase:
def original_keys(self):
r = dict(self.__dict__)
del r["key"]
if "key" in r:
del r["key"]
return r
@property
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment