Skip to content

Commit

Permalink
Revert "Fix configdb.py TypeError exception by adding PY3K check (son…
Browse files Browse the repository at this point in the history
…ic-net#44)"

This reverts commit 005ea9d.
  • Loading branch information
madhupalu committed Jan 15, 2019
1 parent 005ea9d commit fa26e06
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/swsssdk/configdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,6 @@ def get_config(self):
keys = client.keys('*')
data = {}
for key in keys:
if PY3K:
key = key.decode('utf-8')
try:
(table_name, row) = key.split(self.TABLE_NAME_SEPARATOR, 1)
entry = self.__raw_to_typed(client.hgetall(key))
Expand Down

0 comments on commit fa26e06

Please sign in to comment.