Re: [PATCH] Fixes test_dates break in older version of Python

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
Il giorno mer, 01/04/2009 alle 13.40 -0500, Menno Smits ha scritto:
> There's a couple of test failures with Python 2.4 and older in
> test_dates.py. This is because exceptions don't have a message
> attribute
>   before Python 2.5. The attached patch fixes that by using str
> instead.

Applied, thanks.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
 Come sai se il primo è ben dato? In realtà è "Beh il secondo bacio ben
  dato non si rifiuta".                                    -- Alessandra

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAknTuCcACgkQvcCgrgZGjesitACgnIMa/qyiX9o2UIy0p27dWpPw
WD0An0qGrov1TuSUJCo6qmFZI5owcwwf
=iW6c
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.