ciabot test fails
Thomas Keller <[email protected]>
| Newsgroups | gmane.comp.version-control.monotone.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey there!
The ciabot test fails for me in line 45, because my oldish Python
(2.5.5) throws a deprecation warning and the test assumes that stderr is
zero:
./extra/mtn-hooks/monotone-ciabot.py:113: Warning: 'with' will become a
reserved keyword in Python 2.6
File "./extra/mtn-hooks/monotone-ciabot.py", line 113
with open(config_file) as f:
^
SyntaxError: invalid syntax
So either we work around this issue by replacing the offending code or
we skip the test in case the Python version is < 2.6.
Opinions?
Thomas.
--
GPG-Key 0x160D1092 | [email protected] | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel
signature.asc
(application/pgp-signature, 259 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk19U7MACgkQaf7NlBYNEJK8ygCeKYh/yBYtln+bph7HikUccpiX aSwAn2PUhFMXOmQMI2ypf9FQbLaxr6Yv =tmQM -----END PGP SIGNATURE-----