Handle decoding of None type

Bug #1968044 reported by Ekaterina Chernova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
etcd3gw
Expired
Undecided
Unassigned

Bug Description

In utils there is a decode method which help to provide corresponding operation and suppose to be universal.

But if None is passed to _decode it is turned into b"None", but excepted value is b"".
I suggest fixing this behavior.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

These methods in utils is not at all universal but are implemented for internal usage within etcd3gw.
Unless there is any actual problems causing the behavior of etcd3gw then adding that handling is just useless.

Changed in python-etcd3gw:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for etcd3gw because there has been no activity for 60 days.]

Changed in python-etcd3gw:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.