~ubuntu-core-dev/ubuntu/maverick/apport/ubuntu

« back to all changes in this revision

Viewing changes to apport/fileutils.py

  • Committer: Colin Watson
  • Date: 2010-02-10 14:44:12 UTC
  • mfrom: (1621 ubuntu)
  • mto: This revision was merged to the branch mainline in revision 1622.
  • Revision ID: cjwatson@canonical.com-20100210144412-l51zdyocvb376468
mergeĀ fromĀ lucid

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
'''Functions to manage apport problem report files.
2
 
 
3
 
Copyright (C) 2006 Canonical Ltd.
4
 
Author: Martin Pitt <martin.pitt@ubuntu.com>
5
 
 
6
 
This program is free software; you can redistribute it and/or modify it
7
 
under the terms of the GNU General Public License as published by the
8
 
Free Software Foundation; either version 2 of the License, or (at your
9
 
option) any later version.  See http://www.gnu.org/copyleft/gpl.html for
10
 
the full text of the license.
11
 
'''
 
1
'''Functions to manage apport problem report files.'''
 
2
 
 
3
# Copyright (C) 2006 - 2009 Canonical Ltd.
 
4
# Author: Martin Pitt <martin.pitt@ubuntu.com>
 
5
 
6
# This program is free software; you can redistribute it and/or modify it
 
7
# under the terms of the GNU General Public License as published by the
 
8
# Free Software Foundation; either version 2 of the License, or (at your
 
9
# option) any later version.  See http://www.gnu.org/copyleft/gpl.html for
 
10
# the full text of the license.
12
11
 
13
12
import os, glob, subprocess, os.path, ConfigParser
14
13
from problem_report import ProblemReport
255
254
import unittest, tempfile, os, shutil, sys, time
256
255
from cStringIO import StringIO
257
256
 
258
 
class _ApportUtilsTest(unittest.TestCase):
 
257
class _T(unittest.TestCase):
259
258
    def setUp(self):
260
259
        global report_dir
261
260
        global _config_file