diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-11-03 09:48:45 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-11-03 09:48:45 +0000 |
commit | 31e5539a14f78d8815d0d930e91023a65b5395e7 (patch) | |
tree | 9016e9c01e4f1a53505a8eaf9be6aef3ecdf15e1 /resize | |
parent | 2116f79cbcd4605b4997931285f14dde1f72a992 (diff) | |
download | libguestfs-31e5539a14f78d8815d0d930e91023a65b5395e7.tar.gz libguestfs-31e5539a14f78d8815d0d930e91023a65b5395e7.tar.xz libguestfs-31e5539a14f78d8815d0d930e91023a65b5395e7.zip |
python: Use sys.version_info[0] instead of sys.version_info.major.
The major/minor fields only exist in Python >= 2.7. This works for at
least Python 2.5 and 2.6.
Thanks to Hilko Bengen.
This updates commit 646142f5136da9cfe2b908703a822c53350f70e9.
Diffstat (limited to 'resize')
0 files changed, 0 insertions, 0 deletions