Commit fb44d38
committed
Make python-six an optional dependency
In Ubuntu and Debian we no longer ship Python 2.7, so the translation
module is an unnecessary dependency. In Python 3 the text type is always
'str', so it is not needed. Make the import optional, so that it can
still support Python 2.7 on RHEL and others that ship it.1 parent 93c9af4 commit fb44d38
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments