Bug 51224

Summary: univention-pam: make UCR templates python3-compatible
Product: UCS Reporter: Florian Best <best>
Component: PAMAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Jannik Ahlers <ahlers>
Severity: normal    
Priority: P5 CC: ahlers, requate
Version: UCS 4.4   
Target Milestone: UCS 4.4-4-errata   
Hardware: Other   
OS: Linux   
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:
Bug Depends on: 51027    
Bug Blocks:    

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>