diff -Nru python-netaddr-0.7.10/debian/changelog python-netaddr-0.7.10/debian/changelog --- python-netaddr-0.7.10/debian/changelog 2014-02-24 10:51:51.000000000 +0000 +++ python-netaddr-0.7.10/debian/changelog 2015-02-19 08:07:15.000000000 +0000 @@ -1,8 +1,15 @@ -python-netaddr (0.7.10-1build1~cloud0) precise-icehouse; urgency=low +python-netaddr (0.7.10-1ubuntu1.1~cloud0) precise-icehouse; urgency=medium * New update for the Ubuntu Cloud Archive. - -- Openstack Ubuntu Testing Bot Mon, 24 Feb 2014 05:51:51 -0500 + -- Openstack Ubuntu Testing Bot Thu, 19 Feb 2015 08:07:15 +0000 + +python-netaddr (0.7.10-1ubuntu1.1) trusty-proposed; urgency=medium + + * netaddr/ip/sets.py: + Fixes typo when accessing _sys_maxint (LP: #1421375) + + -- Adam Stokes Thu, 12 Feb 2015 14:03:02 -0600 python-netaddr (0.7.10-1build1) trusty; urgency=medium diff -Nru python-netaddr-0.7.10/debian/control python-netaddr-0.7.10/debian/control --- python-netaddr-0.7.10/debian/control 2013-08-04 13:53:27.000000000 +0000 +++ python-netaddr-0.7.10/debian/control 2015-02-12 20:02:59.000000000 +0000 @@ -1,7 +1,8 @@ Source: python-netaddr Section: python Priority: optional -Maintainer: Vincent Bernat +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Vincent Bernat Uploaders: Debian Python Modules Team Standards-Version: 3.9.4 Build-Depends: debhelper (>= 8), diff -Nru python-netaddr-0.7.10/debian/patches/01_fix_maxint_typo.diff python-netaddr-0.7.10/debian/patches/01_fix_maxint_typo.diff --- python-netaddr-0.7.10/debian/patches/01_fix_maxint_typo.diff 1970-01-01 00:00:00.000000000 +0000 +++ python-netaddr-0.7.10/debian/patches/01_fix_maxint_typo.diff 2015-02-12 20:02:59.000000000 +0000 @@ -0,0 +1,18 @@ +# Description: Fixes a typo in netaddr/ip/sets.py when accessing _sys_maxint +# Author: Adam Stokes +# Origin: upstream +# Bug-Ubuntu: https://bugs.launchpad.net/bugs/1421375 +# Last-Update: 2015-02-12 +Index: python-netaddr-0.7.10/netaddr/ip/sets.py +=================================================================== +--- python-netaddr-0.7.10.orig/netaddr/ip/sets.py 2012-05-30 18:11:49.000000000 -0400 ++++ python-netaddr-0.7.10/netaddr/ip/sets.py 2015-02-12 14:35:09.495878877 -0500 +@@ -515,7 +515,7 @@ + limitation). Use the .size property for subnets of any size. + """ + size = self.size +- if size > _sys.maxint: ++ if size > _sys_maxint: + raise IndexError("range contains greater than %d (maxint) " \ + "IP addresses! Use the .size property instead." % _sys_maxint) + return size diff -Nru python-netaddr-0.7.10/debian/patches/series python-netaddr-0.7.10/debian/patches/series --- python-netaddr-0.7.10/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ python-netaddr-0.7.10/debian/patches/series 2015-02-12 20:02:59.000000000 +0000 @@ -0,0 +1 @@ +01_fix_maxint_typo.diff