Bug#585187: bubbros: Python string exceptions no more allowed in Python 2.6

Ben Finney ben+debian at benfinney.id.au
Tue Jun 15 07:54:04 UTC 2010


package bubbros
tags 585187 + upstream patch
thanks

On 09-Jun-2010, morph at debian.org wrote:
> One of the changes brought by Python 2.6 is the removal of string
> exceptions, so they won't work in Python 2.6 (just a side note: they
> were also buggy before, since they were not guaranteed to work
> reliable even in <2.6)

The attached patch addresses this bug, by converting each non-standard
‘raise’ statement to use an exception instance correctly.

-- 
 \        “Some people, when confronted with a problem, think ‘I know, |
  `\       I'll use regular expressions’. Now they have two problems.” |
_o__)                           —Jamie Zawinski, in alt.religion.emacs |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-standard-raise-statements.patch
Type: text/x-diff
Size: 11529 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100615/f2e5af72/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100615/f2e5af72/attachment.pgp>


More information about the Pkg-games-devel mailing list