Bug 35910

Summary: univention-check-templates breaks on conffiles with space in name if python-debian is installed
Product: UCS Test Reporter: Stefan Gohmann <gohmann>
Component: GeneralAssignee: UCS maintainers <ucs-maintainers>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5    
Version: unspecified   
Target Milestone: ---   
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: 35202    
Bug Blocks:    

Description Stefan Gohmann univentionstaff 2014-09-11 15:05:43 CEST
Please check if a test case is possible.

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

Ticket#: 2014061721000508


If a package provides conffiles with space in name AND python-debian is installed, univention-check-templates breaks:
---
Traceback (most recent call last):
  File "/usr/sbin/univention-check-templates", line 168, in <module>
    sys.exit(main())
  File "/usr/sbin/univention-check-templates", line 52, in main
    modified |= check_md5(opt.verbose)
  File "/usr/sbin/univention-check-templates", line 102, in check_md5
    for filepath, expected in iter_templates():
  File "/usr/sbin/univention-check-templates", line 134, in iter_templates
    filepath, fmd5 = fields
ValueError: too many values to unpack
---