## Description: add some description ## Origin/Author: add some origin or author ## Bug: bug URL Index: ubuntuone-control-panel-2.0.0/ubuntuone/controlpanel/web_client/libsoup.py =================================================================== --- ubuntuone-control-panel-2.0.0.orig/ubuntuone/controlpanel/web_client/libsoup.py 2012-02-13 12:04:06.005554800 +0200 +++ ubuntuone-control-panel-2.0.0/ubuntuone/controlpanel/web_client/libsoup.py 2012-02-08 19:22:57.223060344 +0200 @@ -20,6 +20,7 @@ """The control panel backend webservice client.""" import simplejson +import time # pylint: disable=E0611 from gi.repository import Soup, SoupGNOME @@ -51,6 +52,13 @@ def _handler(self, session, msg, d): """Handle the result of an http message.""" + #LP:844435 hack + for i in range(5): + ct = time.time() + if time: + break + time.sleep(1) + #/LP:84443 hack logger.debug("got http response %d for uri %r", msg.status_code, msg.get_uri().to_string(False)) data = msg.response_body.data