Bug 51224 - univention-pam: make UCR templates python3-compatible
univention-pam: make UCR templates python3-compatible
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: PAM
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-4-errata
Assigned To: Florian Best
Jannik Ahlers
:
Depends on: 51027
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-05 15:29 CEST by Florian Best
Modified: 2020-05-13 15:28 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-05-05 15:29:24 CEST
One lambda statement is not yet python3 compatible:

>>> lambda(x): x
  File "<stdin>", line 1
    lambda(x): x
          ^
SyntaxError: invalid syntax
>>> lambda x: x
<function <lambda> at 0x7f9739611840>

+++ This bug was initially created as a clone of Bug #51027 +++

The UCR templates of univention-pam have to be python3-compatible.
Comment 1 Florian Best univentionstaff 2020-05-05 15:32:43 CEST
univention-pam.yaml
aba8f7f44175 | YAML Bug #51224

univention-pam (12.0.2-12)
835924cc9a44 | Bug #51224: fix lambda expression for python 3 compatibility
Comment 2 Jannik Ahlers univentionstaff 2020-05-07 08:33:23 CEST
- template: OK
- YAML: OK
-> Verified
Comment 3 Erik Damrose univentionstaff 2020-05-13 15:28:33 CEST
<http://errata.software-univention.de/ucs/4.4/594.html>