mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
lp-shell: Use "udt-lp-shell" as LP API consumer instead of the non-unique
"test" (lp: #558531).
This commit is contained in:
parent
4ff65ad731
commit
36fd550ab4
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -9,7 +9,11 @@ ubuntu-dev-tools (0.98) UNRELEASED; urgency=low
|
|||||||
[ Emmet Hikory ]
|
[ Emmet Hikory ]
|
||||||
* doc/mk-sbuild.1: add missing options to summary
|
* doc/mk-sbuild.1: add missing options to summary
|
||||||
|
|
||||||
-- Emmet Hikory <persia@ubuntu.com> Sun, 11 Apr 2010 17:29:42 +0900
|
[ Michael Bienia ]
|
||||||
|
* lp-shell: Use "udt-lp-shell" as LP API consumer instead of the non-unique
|
||||||
|
"test" (lp: #558531).
|
||||||
|
|
||||||
|
-- Michael Bienia <geser@ubuntu.com> Tue, 13 Apr 2010 18:41:36 +0200
|
||||||
|
|
||||||
ubuntu-dev-tools (0.97) lucid; urgency=low
|
ubuntu-dev-tools (0.97) lucid; urgency=low
|
||||||
|
|
||||||
|
@ -13,8 +13,8 @@ lp\-shell \- Open an interactive launchpadlib shell.
|
|||||||
opens an interactive Python shell with a launchpadlib.Launchpad object "lp"
|
opens an interactive Python shell with a launchpadlib.Launchpad object "lp"
|
||||||
which is ready for use.
|
which is ready for use.
|
||||||
|
|
||||||
It authenticates against Launchpad with the consumer name "test". When using
|
It authenticates against Launchpad with the consumer name "udt-lp-shell". When
|
||||||
\fBlp\-shell\fR with the \fB\-a\fR option it will use the anonymous login
|
using \fBlp\-shell\fR with the \fB\-a\fR option it will use the anonymous login
|
||||||
from launchpadlib.Launchpad.
|
from launchpadlib.Launchpad.
|
||||||
|
|
||||||
By default \fBlp\-shell\fR connects to the "\fIedge\fR" Launchpad service
|
By default \fBlp\-shell\fR connects to the "\fIedge\fR" Launchpad service
|
||||||
|
4
lp-shell
4
lp-shell
@ -50,11 +50,11 @@ if len(args) >= 2:
|
|||||||
print 'I: Falling back to "1.0".'
|
print 'I: Falling back to "1.0".'
|
||||||
|
|
||||||
if options.anonymous:
|
if options.anonymous:
|
||||||
lp = Launchpad.login_anonymously('test', instance, version=api_version)
|
lp = Launchpad.login_anonymously('udt-lp-shell', instance, version=api_version)
|
||||||
banner = 'Connected anonymously to LP service "%s" with API version "%s":' % (
|
banner = 'Connected anonymously to LP service "%s" with API version "%s":' % (
|
||||||
instance, api_version)
|
instance, api_version)
|
||||||
else:
|
else:
|
||||||
lp = Launchpad.login_with('test', instance, version=api_version)
|
lp = Launchpad.login_with('udt-lp-shell', instance, version=api_version)
|
||||||
banner = 'Connected to LP service "%s" with API version "%s":' % (
|
banner = 'Connected to LP service "%s" with API version "%s":' % (
|
||||||
instance, api_version)
|
instance, api_version)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user