| Summary: | Build issue: Koffice FTBFS (python problem) under Fedora 16 | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Francois Andriot <albator78> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | bugwatch, darrella |
| Priority: | P5 | ||
| Version: | 3.5.12 [Trinity] | ||
| Hardware: | amd64 | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: | Fix python compilation error | ||
Created attachment 156 [details]
Fix python compilation error
This patch modifies the faulty script syntax so that it compiles under Fedora 16.
Committed to GIT in hash 5ec453c. Thanks for reporting, and for the patch! |
Hello, during RPM package creation, the rpmbuild tool automatically compiles all python scripts. Then it fails with the following error: SyntaxError: ('invalid syntax', ('/opt/trinity/share/apps/kross/python /RestrictedPython/Utilities.py', 49, 19, 'def reorder(s, with=None, without=()):\n')) Python version is 2.7.2