mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
* common.py: Improved no credentials found error message to show which
consumer token is needed.
This commit is contained in:
parent
743154a9c8
commit
dce63c4fb7
@ -290,8 +290,9 @@ def find_credentials(consumer, files, level=None):
|
||||
continue
|
||||
if cred.consumer.key == consumer:
|
||||
return cred
|
||||
raise IOError("No credentials found, please see the manage-credentials " \
|
||||
"manpage for help on how to create them.")
|
||||
raise IOError("No credentials found for '%s', please see the " \
|
||||
"manage-credentials manpage for help on how to create " \
|
||||
"one for this consumer." % consumer)
|
||||
|
||||
def get_credentials(consumer, cred_file=None, level=None):
|
||||
files = list()
|
||||
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -2,6 +2,8 @@ ubuntu-dev-tools (0.56) UNRELEASED; urgency=low
|
||||
|
||||
* manage-credentials: Tighted security by making credentials files and
|
||||
folder world unreadable.
|
||||
* common.py: Improved no credentials found error message to show which
|
||||
consumer token is needed.
|
||||
|
||||
-- Jonathan Davies <jpds@ubuntu.com> Thu, 15 Jan 2009 12:35:12 +0000
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user