https://bugzilla.gnome.org/show_bug.cgi?id=610352
sysadmin | Other | unspecified
Summary: Ensure Python sysadmin scripts are Python 2.6
compatible
Classification: Infrastructure
Product: sysadmin
Version: unspecified
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
GNOME target: ---
GNOME version: ---
The oldest Python version on any server is 2.4.
All sysadmin scripts should be checked that they work with Python 2.6. As in:
no warnings, correct working, etc. Note that the scripts should still work
under 2.4.
As small example, instead of:
> import md5
do something like:
> try:
> import hashlib
> except ImportError:
> import md5 as hashlib
This as import md5 gives a warning under 2.6 (and maybe before that as well).
and ensure usage of md5 is correct (md5.md5, not md5.new or something).
Note: this is not about making it compatible with 3.0, scripts still need to
work with Python 2.4!
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.
_______________________________________________
gnome-infrastructure mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-infrastructure