Commit 301bbdf
python3: Allow unicode strings as arg to get_interfaces_info
Going along with the previous "s*" change, allow the function to take
either a bytestring or a string. Otherwise .get_interfaces_info(b"eth1")
works on python3 but .get_interfaces_info("eth1") doesn't.
Signed-off-by: Andy Grover <agrover@redhat.com>1 parent e445d9f commit 301bbdf
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
| |||
0 commit comments