Bug ID | 1168134 |
---|---|
Summary | xml2po python3 port is broken |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | GNOME |
Assignee | gnome-bugs@suse.de |
Reporter | fvogt@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
[ 32s] xml2po --expand-all-entities -o po/slideshow.pot slideshow.xml [ 33s] Traceback (most recent call last): [ 33s] File "/usr/bin/xml2po", line 191, in <module> [ 33s] main(sys.argv[1:]) [ 33s] File "/usr/bin/xml2po", line 160, in main [ 33s] xml2po_main = Main(default_mode, operation, output, options) [ 33s] File "/usr/lib/python3.8/site-packages/xml2po/__init__.py", line 559, in __init__ [ 33s] self.out = file(output, 'w') [ 33s] NameError: name 'file' is not defined I assume it should be open(output, 'w') instead?