Garrett Holmstrom 11 years ago
parent 31f78678c0
commit 4b2dc4e921

@ -0,0 +1,21 @@
Index: boto/boto/roboto/param.py
===================================================================
--- boto.orig/boto/roboto/param.py
+++ boto/boto/roboto/param.py
@@ -67,7 +67,7 @@ class Converter(object):
except:
raise ValidationException(param, '')
-class Param(object):
+class Param(Converter):
def __init__(self, name=None, ptype='string', optional=True,
short_name=None, long_name=None, doc='',
@@ -142,6 +142,6 @@ class Param(object):
:param value: The value to convert. This should always
be a string.
"""
- return super(Param, self).convert(value)
+ return super(Param, self).convert(self, value)

@ -2,7 +2,7 @@
Summary: A simple lightweight interface to Amazon Web Services
Name: python-boto
Version: 2.25.0
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT
Group: Development/Languages
URL: https://github.com/boto/boto
@ -11,6 +11,11 @@ BuildRequires: python-devel >= 2.5, python-setuptools-devel
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Fix roboto parameter type conversion
# https://github.com/boto/boto/pull/2094
# https://bugzilla.redhat.com/show_bug.cgi?id=1064550
Patch1: boto-2.25.0-roboto-param.patch
%description
Boto is a Python package that provides interfaces to Amazon Web Services.
@ -23,6 +28,7 @@ cloud systems like Eucalyptus, OpenStack and Open Nebula.
%prep
%setup -q -n boto-%{version}
%patch1 -p1
rm -r boto.egg-info
@ -58,6 +64,9 @@ rm -r boto.egg-info
%{python_sitelib}/boto*.egg-info
%changelog
* Wed Feb 12 2014 Garrett Holmstorm <gholms@fedoraproject.org> - 2.25.0-2
- Fixed roboto parameter type conversion (boto #2094, RH #1064550)
* Mon Feb 10 2014 Garrett Holmstrom <gholms@fedoraproject.org> - 2.25.0-1
- Updated to 2.25.0
- This update makes s3.get_bucket use HEAD instead of GET

Loading…
Cancel
Save