File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ osdf-python 0.8.2
2+
3+ * Fixed error in byteify code.
4+
5+ - Victor <victor73@github.com> Mon, 18 Feb 2019 14:00:00 -0400
6+
17osdf-python 0.8.1
28
39 * Added configuration files for editorconfig and pylint.
Original file line number Diff line number Diff line change @@ -114,12 +114,12 @@ def _byteify(self, input_str):
114114 #pylint: disable=no-else-return,undefined-variable
115115 if isinstance (input_str , dict ):
116116 return {self ._byteify (key ):self ._byteify (value ) for key , value in input_str .iteritems ()}
117- elif isinstance (input , list ):
117+ elif isinstance (input_str , list ):
118118 return [self ._byteify (element ) for element in input_str ]
119- elif isinstance (input , unicode ):
119+ elif isinstance (input_str , unicode ):
120120 return input_str .encode ('utf-8' )
121121 else :
122- return input
122+ return input_str
123123
124124 def get_info (self ):
125125 """
You can’t perform that action at this time.
0 commit comments