From patchwork Wed Jul 6 18:39:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mattias Backman X-Patchwork-Id: 2506 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DD6A524146 for ; Wed, 6 Jul 2011 18:39:25 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id ADC4BA18514 for ; Wed, 6 Jul 2011 18:39:25 +0000 (UTC) Received: by mail-qw0-f52.google.com with SMTP id 8so136734qwb.11 for ; Wed, 06 Jul 2011 11:39:25 -0700 (PDT) Received: by 10.229.62.194 with SMTP id y2mr6867270qch.4.1309977563642; Wed, 06 Jul 2011 11:39:23 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.48.135 with SMTP id r7cs87143qcf; Wed, 6 Jul 2011 11:39:23 -0700 (PDT) Received: by 10.68.28.137 with SMTP id b9mr9334797pbh.191.1309977560646; Wed, 06 Jul 2011 11:39:20 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id u20si44302034wfu.81.2011.07.06.11.39.20; Wed, 06 Jul 2011 11:39:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QeX0I-0005Og-Qu for ; Wed, 06 Jul 2011 18:39:18 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id C3B252E8954 for ; Wed, 6 Jul 2011 18:39:18 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-image-tools/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 369 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 369: Use absolute imports for hardwarepack_format and FetchImage. Message-Id: <20110706183918.10312.46762.launchpad@loganberry.canonical.com> Date: Wed, 06 Jul 2011 18:39:18 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13376"; Instance="initZopeless config overlay" X-Launchpad-Hash: 033a0775b400b600eaba577d247b458d1bb47262 Merge authors: Mattias Backman (mabac) Related merge proposals: https://code.launchpad.net/~mabac/linaro-image-tools/use-absolute-imports/+merge/66167 proposed by: Mattias Backman (mabac) ------------------------------------------------------------ revno: 369 [merge] committer: Mattias Backman branch nick: trunk timestamp: Fri 2011-07-01 11:21:11 +0200 message: Use absolute imports for hardwarepack_format and FetchImage. modified: linaro_image_tools/hwpack/config.py linaro_image_tools/index_server.py --- lp:linaro-image-tools https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk You are subscribed to branch lp:linaro-image-tools. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription === modified file 'linaro_image_tools/hwpack/config.py' --- linaro_image_tools/hwpack/config.py 2011-06-20 13:46:16 +0000 +++ linaro_image_tools/hwpack/config.py 2011-06-28 15:16:43 +0000 @@ -22,7 +22,7 @@ import ConfigParser import re -from hardwarepack_format import ( +from linaro_image_tools.hwpack.hardwarepack_format import ( HardwarePackFormatV1, HardwarePackFormatV2, ) === modified file 'linaro_image_tools/index_server.py' --- linaro_image_tools/index_server.py 2011-06-17 18:04:47 +0000 +++ linaro_image_tools/index_server.py 2011-06-29 06:29:34 +0000 @@ -22,10 +22,10 @@ import os import re -import FetchImage import urlparse import logging import bz2 +import linaro_image_tools.FetchImage RELEASES_WWW_DOCUMENT_ROOT = "/srv/releases.linaro.org/www/platform/" RELEASE_URL = "http://releases.linaro.org/platform/" @@ -41,7 +41,7 @@ def __init__(self): self.reset() self.db_file_name = "server_index" - self.db = FetchImage.DB(self.db_file_name) + self.db = linaro_image_tools.FetchImage.DB(self.db_file_name) def crawl(self): self.db.set_url_parse_info(self.url_parse)