ubuntutools/requestsync/{lp,mail}.py: Replace the relative imports with

absolute ones (follow PEP8)
This commit is contained in:
Michael Bienia 2010-02-04 00:37:02 +01:00
parent 384cba2e19
commit 95487419e7
2 changed files with 6 additions and 6 deletions

View File

@ -20,10 +20,10 @@
# Please see the /usr/share/common-licenses/GPL-2 file for the full text # Please see the /usr/share/common-licenses/GPL-2 file for the full text
# of the GNU General Public License license. # of the GNU General Public License license.
from .common import raw_input_exit_on_ctrlc from ubuntutools.requestsync.common import raw_input_exit_on_ctrlc
from ..lp.lpapicache import Launchpad, Distribution, PersonTeam, DistributionSourcePackage from ubuntutools.lp.lpapicache import Launchpad, Distribution, PersonTeam, DistributionSourcePackage
from ..lp.udtexceptions import PackageNotFoundException, SeriesNotFoundException, PocketDoesNotExistException, ArchiveNotFoundException from ubuntutools.lp.udtexceptions import PackageNotFoundException, SeriesNotFoundException, PocketDoesNotExistException, ArchiveNotFoundException
from ..lp.libsupport import translate_api_web from ubuntutools.lp.libsupport import translate_api_web
def getDebianSrcPkg(name, release): def getDebianSrcPkg(name, release):
debian = Distribution('debian') debian = Distribution('debian')

View File

@ -25,8 +25,8 @@ import subprocess
import smtplib import smtplib
import socket import socket
from debian_bundle.changelog import Version from debian_bundle.changelog import Version
from .common import raw_input_exit_on_ctrlc from ubuntutools.requestsync.common import raw_input_exit_on_ctrlc
from ..lp.udtexceptions import PackageNotFoundException from ubuntutools.lp.udtexceptions import PackageNotFoundException
__all__ = [ __all__ = [
'getDebianSrcPkg', 'getDebianSrcPkg',