Univention Bugzilla – Bug 28634
Dead code: list_policies in /usr/lib/pymodules/python2.6/univention/admincli/admin.py
Last modified: 2018-04-13 13:28:11 CEST
Created attachment 4683 [details] Remove dead code list_policies wird in /usr/lib/pymodules/python2.6/univention/admincli/admin.py nur innerhalb der Methode _doit() mit False initialisiert, nie geändert und nur einmal ausgewertet. Der Code sollte entfernt werden, weil - 96 Zeilen toter Code entfernt werden - univention_policy damit die einzige Implementierung für die Auswertung von policy_result ist
There's a bug in the argument handling, see Bug #21585 comment 1 for the fix. *** This bug has been marked as a duplicate of bug 21585 ***