mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
more logging by default
This commit is contained in:
parent
91bad45ec1
commit
2b03e3ca99
@ -312,14 +312,14 @@ def copy(src_pkg, debian_version, release, simulate=False):
|
|||||||
ubuntu_version = ubuntu_archive.getSourcePackage(
|
ubuntu_version = ubuntu_archive.getSourcePackage(
|
||||||
src_pkg, ubuntu_series, ubuntu_pocket).getVersion()
|
src_pkg, ubuntu_series, ubuntu_pocket).getVersion()
|
||||||
|
|
||||||
Logger.info('Source %s -> %s/%s: current version %s, new version %s',
|
Logger.normal('Source %s -> %s/%s: current version %s, new version %s',
|
||||||
src_pkg, ubuntu_series, ubuntu_pocket,
|
src_pkg, ubuntu_series, ubuntu_pocket,
|
||||||
ubuntu_version, debian_version)
|
ubuntu_version, debian_version)
|
||||||
if Version(debian_version) <= Version(ubuntu_version):
|
if Version(debian_version) <= Version(ubuntu_version):
|
||||||
Logger.error('Debian version is <= Ubuntu version; nothing to do!')
|
Logger.error('Debian version is <= Ubuntu version; nothing to do!')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
except udtexceptions.PackageNotFoundException:
|
except udtexceptions.PackageNotFoundException:
|
||||||
Logger.info('Source %s -> %s/%s: not in Ubuntu, new version %s',
|
Logger.normal('Source %s -> %s/%s: not in Ubuntu, new version %s',
|
||||||
src_pkg, ubuntu_series, ubuntu_pocket, debian_version)
|
src_pkg, ubuntu_series, ubuntu_pocket, debian_version)
|
||||||
if simulate:
|
if simulate:
|
||||||
return
|
return
|
||||||
@ -331,7 +331,7 @@ def copy(src_pkg, debian_version, release, simulate=False):
|
|||||||
to_series=ubuntu_series,
|
to_series=ubuntu_series,
|
||||||
to_pocket=ubuntu_pocket,
|
to_pocket=ubuntu_pocket,
|
||||||
include_binaries=False)
|
include_binaries=False)
|
||||||
Logger.info('Request succeeded; you should get an e-mail once it is '
|
Logger.normal('Request succeeded; you should get an e-mail once it is '
|
||||||
'processed.')
|
'processed.')
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user