Univention Bugzilla – Bug 37688
Traceback in 0001-CheckJoinScript.py
Last modified: 2015-02-09 11:02:50 CET
Reported traceback by a partner: Traceback (most recent call last): File "/usr/bin/ucslint", line 306, in <module> chk.check() File "/usr/bin/ucslint", line 106, in check obj.check( self.path ) File "/usr/lib/pymodules/python2.7/univention/ucslint/0001-CheckJoinScript.py", line 177, in check self.addmsg( '0001-9', 'failed to open and read file', fn ) UnboundLocalError: local variable 'fn' referenced before assignment
Created attachment 6645 [details] Fix for the traceback Attached a patch for the traceback
Traceback has been fixed and ucslint has been rebuilt in errata4.0-0: Version 4.0.0-7.66.201502051248 YAML: 2015-02-05-ucslint.yaml
OK, reproduced: rm *.inst debian/rules; ucslint; echo %? OK: YAML
<http://errata.univention.de/ucs/4.0/80.html>