Univention Bugzilla – Bug 27429
ucslint 0013-2 bashism: fehlender Typecast → int
Last modified: 2012-12-12 21:09:34 CET
Der Bau von univention-firewall schlägt fehl: E:0013-2: conffiles/etc/security/packetfilter.d/80_univention-firewall_policy.sh:33: possible bashism (function names should only contain [a-z0-9_]): policy = configRegistry.get('security/packetfilter/defaultpolicy','ACCEPT').upper() /usr/share/pyshared/univention/ucslint/0013-bashism.py: ... reBashism = re.compile(r'^.*?\s+line\s+(\d+)\s+[(](.*?)[)][:]\n([^\n]+)$') ... match = reBashism.search(item) ... line = match.group(1) ... self.addmsg(..., line=line) Da fehlt ein int() um line, der ansonsten schlägt der Vergleich "number == linenumber" in /usr/bin/ucslint:157 fehl.
Korrigiert. svn34326, ucslint_3.0.0-1
(In reply to comment #1) > Korrigiert. > svn34326, ucslint_3.0.0-1 Änderung passt. Changelog in Ordnung.
UCS 3.1-0 has been released: http://forum.univention.de/viewtopic.php?f=54&t=2125 If this error occurs again, please use "Clone This Bug".