Hello community, here is the log from the commit of package python-WSME for openSUSE:Factory checked in at 2013-09-03 22:06:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-WSME (Old) and /work/SRC/openSUSE:Factory/.python-WSME.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-WSME" Changes: -------- --- /work/SRC/openSUSE:Factory/python-WSME/python-WSME.changes 2013-05-02 11:45:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-WSME.new/python-WSME.changes 2013-09-03 22:06:15.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Sep 2 16:29:37 UTC 2013 - dmueller@suse.com + +- add six-14-support.diff: + * Add support for Six 1.4+ + +------------------------------------------------------------------- New: ---- six-14-support.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-WSME.spec ++++++ --- /var/tmp/diff_new_pack.j9wE8n/_old 2013-09-03 22:06:15.000000000 +0200 +++ /var/tmp/diff_new_pack.j9wE8n/_new 2013-09-03 22:06:15.000000000 +0200 @@ -24,6 +24,7 @@ Group: Development/Languages/Python Url: http://packages.python.org/WSME/ Source: http://pypi.python.org/packages/source/W/WSME/WSME-%{version}.tar.gz +Patch0: six-14-support.diff BuildRequires: python-WebOb BuildRequires: python-d2to1 BuildRequires: python-devel @@ -48,6 +49,7 @@ %prep %setup -q -n WSME-%{version} +%patch0 %build python setup.py build ++++++ six-14-support.diff ++++++ --- wsme/types.py +++ wsme/types.py @@ -573,12 +573,12 @@ class BaseMeta(type): def __new__(cls, name, bases, dct): - if bases[0] is not object and '__registry__' not in dct: + if bases and bases[0] is not object and '__registry__' not in dct: dct['__registry__'] = registry return type.__new__(cls, name, bases, dct) def __init__(cls, name, bases, dct): - if bases[0] is not object: + if bases and bases[0] is not object: cls.__registry__.register(cls) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org