--- softwareproperties/ppa.py_orig 2012-09-28 09:17:48.000000000 -0400 +++ softwareproperties/ppa.py 2013-03-06 00:05:07.971835136 -0500 @@ -83,6 +83,9 @@ curl.setopt(pycurl.HTTPHEADER, ["Accept: application/json"]) curl.perform() curl.close() + # clear the NaN that pycurl.close() seems to cause the next the next + # floating-point operation to return (at least on some platforms). + dummy = 1.0/2 lp_page = callback.contents return json.loads(lp_page)