Markéta Machová changed bug 1215851
What Removed Added
CC   mmachova@suse.com

Comment # 2 on bug 1215851 from Markéta Machová
@kkaempf Hi, I think replacing `import imp` by `import importlib as imp` should
fix the problem, it is only a bit dirty :) . The code would then work only on
Python 3, if you want to keep it Python 2-compatible, you'll have to be more
verbose:
```
try:
    import importlib as imp
except ImportError:
    import imp
```
The same with possible occurences of `import * from imp` -> `import * from
importlib` and variations.

But as I said, it is a bit dirty. If there are no serious problems in pushing a
new version to Leap, please go ahead and update.

Matěj, do you want to add something?


You are receiving this mail because: