~facundo/encuentro/trunk

58 by facundo at com
Integrated with apport.
1
# Copyright 2011-2013 Facundo Batista
151.2.7 by Facundo Batista
Last round of changes in Qt migration.
2
#
58 by facundo at com
Integrated with apport.
3
# This program is free software: you can redistribute it and/or modify it
4
# under the terms of the GNU General Public License version 3, as published
5
# by the Free Software Foundation.
6
#
7
# This program is distributed in the hope that it will be useful, but
8
# WITHOUT ANY WARRANTY; without even the implied warranties of
9
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
10
# PURPOSE.  See the GNU General Public License for more details.
11
#
12
# You should have received a copy of the GNU General Public License along
13
# with this program.  If not, see <http://www.gnu.org/licenses/>.
14
#
15
# For further info, check  https://launchpad.net/encuentro
16
17
"""Configuration file for Apport."""
18
19
from apport.hookutils import attach_related_packages, attach_file_if_exists
20
21
from encuentro import logger
22
23
24
def add_info(report):
25
    """Add info to the report."""
26
    # attach the log
27
    fname = logger.get_filename()
28
    attach_file_if_exists(report, fname, "EncuentroLog")
29
30
    # info about dependencies
31
    packages = ["python-mechanize", "python-twisted-bin", "python-qt4",
151.2.7 by Facundo Batista
Last round of changes in Qt migration.
32
                "python-xdg"]
58 by facundo at com
Integrated with apport.
33
    attach_related_packages(report, packages)
34