~kelemeng/checkbox/bug868571

« back to all changes in this revision

Viewing changes to plugins/launchpad_exchange.py

  • Committer: Marc Tardif
  • Date: 2008-08-13 20:04:12 UTC
  • Revision ID: marc.tardif@canonical.com-20080813200412-52u3d6fs6ulnxlgv
Renamed hwtest to checkbox.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
# Written by Marc Tardif <marc@interunion.ca>
5
5
#
6
 
# This file is part of HWTest.
 
6
# This file is part of Checkbox.
7
7
#
8
 
# HWTest is free software: you can redistribute it and/or modify
 
8
# Checkbox is free software: you can redistribute it and/or modify
9
9
# it under the terms of the GNU General Public License as published by
10
10
# the Free Software Foundation, either version 3 of the License, or
11
11
# (at your option) any later version.
12
12
#
13
 
# HWTest is distributed in the hope that it will be useful,
 
13
# Checkbox is distributed in the hope that it will be useful,
14
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
16
# GNU General Public License for more details.
17
17
#
18
18
# You should have received a copy of the GNU General Public License
19
 
# along with HWTest.  If not, see <http://www.gnu.org/licenses/>.
 
19
# along with Checkbox.  If not, see <http://www.gnu.org/licenses/>.
20
20
#
21
21
import os
22
22
import time
28
28
from socket import gethostname
29
29
from StringIO import StringIO
30
30
 
31
 
from hwtest.lib.transport import HTTPTransport
 
31
from checkbox.lib.transport import HTTPTransport
32
32
 
33
 
from hwtest.log import format_delta
34
 
from hwtest.plugin import Plugin
 
33
from checkbox.log import format_delta
 
34
from checkbox.plugin import Plugin
35
35
 
36
36
 
37
37
class LaunchpadExchange(Plugin):
117
117
again or upload the following file:
118
118
%s
119
119
 
120
 
directly to the hardware database:
 
120
directly to the system database:
121
121
https://launchpad.net/+hwdb/+submit""") % os.path.abspath(self._report))
122
122
            return
123
123
        elif response.status != 200: