mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
ubuntutools/requestsync/{lp,mail}.py: Replace the relative imports with
absolute ones (follow PEP8)
This commit is contained in:
parent
384cba2e19
commit
95487419e7
@ -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')
|
||||||
|
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user