~chicharreros/magicicada-gui/trunk

« back to all changes in this revision

Viewing changes to magicicada/dbusiface.py

  • Committer: natalia.bidart at canonical
  • Date: 2010-08-16 20:45:51 UTC
  • mfrom: (61.3.13 update-consistently)
  • Revision ID: natalia.bidart@canonical.com-20100816204551-cu44f2daus5zc3ot
Visual update is done more consistently within the update method. Fixes LP: #612192, #612193.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
logger = logging.getLogger('magicicada.dbusiface')
34
34
 
35
35
# we use here camel case names, because this variables are used later as
36
 
# classes, so pylint: disable-msg=C0103
 
36
# classes, so pylint: disable=C0103
37
37
QueueData = collections.namedtuple('QueueData', 'operation path share node')
38
38
FolderData = collections.namedtuple('FolderData',
39
39
                                'node path suggested_path subscribed volume')
79
79
        while opportunities:
80
80
            try:
81
81
                res = yield func(*a, **k)
82
 
            except Exception, err:  # pylint: disable-msg=W0703
 
82
            except Exception, err:  # pylint: disable=W0703
83
83
                opportunities -= 1
84
84
                if opportunities == 0 or not _is_retry_exception(err):
85
85
                    raise