Source: vlc Version: 2.0.5-1 Severity: normal Tags: patch I've noticed that Vlc apport hook doesn't include the needed import, which leads to errors like this one:
https://launchpadlibrarian.net/127021440/HookError_source_vlc.txt The attached patch against packaging Git fixes that. -- Dmitry Shachnev -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (700, 'unstable'), (500, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
>From 776191dbf7957017e925b51f7ae3d0d4cd21527b Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev <mity...@gmail.com> Date: Wed, 13 Mar 2013 12:22:03 +0400 Subject: [PATCH] Add missing import statement to source_vlc.py --- debian/source_vlc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/source_vlc.py b/debian/source_vlc.py index af11f97..9947364 100644 --- a/debian/source_vlc.py +++ b/debian/source_vlc.py @@ -4,6 +4,8 @@ Author: Brian Murray <br...@ubuntu.com> ''' +from apport.hookutils import attach_related_packages + def add_info(report): attach_related_packages(report, [ "libaa1", -- 1.7.10.4