From 95487419e7f9a749c789f81287fcb5e1a4eeb503 Mon Sep 17 00:00:00 2001 From: Michael Bienia Date: Thu, 4 Feb 2010 00:37:02 +0100 Subject: [PATCH] ubuntutools/requestsync/{lp,mail}.py: Replace the relative imports with absolute ones (follow PEP8) --- ubuntutools/requestsync/lp.py | 8 ++++---- ubuntutools/requestsync/mail.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ubuntutools/requestsync/lp.py b/ubuntutools/requestsync/lp.py index e20d0ac..efd5abc 100644 --- a/ubuntutools/requestsync/lp.py +++ b/ubuntutools/requestsync/lp.py @@ -20,10 +20,10 @@ # Please see the /usr/share/common-licenses/GPL-2 file for the full text # of the GNU General Public License license. -from .common import raw_input_exit_on_ctrlc -from ..lp.lpapicache import Launchpad, Distribution, PersonTeam, DistributionSourcePackage -from ..lp.udtexceptions import PackageNotFoundException, SeriesNotFoundException, PocketDoesNotExistException, ArchiveNotFoundException -from ..lp.libsupport import translate_api_web +from ubuntutools.requestsync.common import raw_input_exit_on_ctrlc +from ubuntutools.lp.lpapicache import Launchpad, Distribution, PersonTeam, DistributionSourcePackage +from ubuntutools.lp.udtexceptions import PackageNotFoundException, SeriesNotFoundException, PocketDoesNotExistException, ArchiveNotFoundException +from ubuntutools.lp.libsupport import translate_api_web def getDebianSrcPkg(name, release): debian = Distribution('debian') diff --git a/ubuntutools/requestsync/mail.py b/ubuntutools/requestsync/mail.py index 2e2d2b1..7b8b101 100644 --- a/ubuntutools/requestsync/mail.py +++ b/ubuntutools/requestsync/mail.py @@ -25,8 +25,8 @@ import subprocess import smtplib import socket from debian_bundle.changelog import Version -from .common import raw_input_exit_on_ctrlc -from ..lp.udtexceptions import PackageNotFoundException +from ubuntutools.requestsync.common import raw_input_exit_on_ctrlc +from ubuntutools.lp.udtexceptions import PackageNotFoundException __all__ = [ 'getDebianSrcPkg',