Rev 2278: (John Arbash Meinel) restrict GPGStrategy.sign() to 8-bit strings in /home/pqm/archives/thelove/bzr/+trunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Fri Feb 9 01:17:03 GMT 2007
------------------------------------------------------------
revno: 2278
revision-id: pqm at pqm.ubuntu.com-20070209011702-1aa0d624613e8953
parent: pqm at pqm.ubuntu.com-20070208230603-37e3c5049e8996f6
parent: john at arbash-meinel.com-20070208234024-w1s6kqucpdckj42i
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2007-02-09 01:17:02 +0000
message:
(John Arbash Meinel) restrict GPGStrategy.sign() to 8-bit strings
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/gpg.py gpg.py-20051017065112-8654536d415dacc6
bzrlib/tests/test_gpg.py testgpg.py-20051017042228-9276cd40a784c93c
------------------------------------------------------------
merged: john at arbash-meinel.com-20070208234024-w1s6kqucpdckj42i
parent: john at arbash-meinel.com-20070208162805-dcqiqrwjh9a5lo7n
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: gpg-8-bit-only
timestamp: Thu 2007-02-08 17:40:24 -0600
message:
Cleanup docstring for Aaron Bentley
------------------------------------------------------------
merged: john at arbash-meinel.com-20070208162805-dcqiqrwjh9a5lo7n
parent: pqm at pqm.ubuntu.com-20070208031033-2ab8a0b14b6eaaba
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: gpg-8-bit-only
timestamp: Thu 2007-02-08 10:28:05 -0600
message:
``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
you pass a Unicode string rather than an 8-bit string. It doesn't
make sense to sign a Unicode string, and it turns out that some
versions of python will write out the raw Unicode bytes rather than
encoding automatically. So fail and make callers do the right thing.
More information about the bazaar-commits
mailing list