--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropListDialog.py Fri Apr 02 11:59:41 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropListDialog.py Sat May 01 14:27:20 2021 +0200 @@ -35,7 +35,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnPropListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self) @@ -124,17 +124,16 @@ try: for name in fnames: proplist = self.client.proplist(name, recurse=recursive) - counter = 0 - for path, prop in proplist: + for counter, (path, prop) in enumerate(proplist): for propName, propVal in list(prop.items()): self.__generateItem(path, propName, propVal) self.propsFound = True - counter += 1 - if counter == 30: + if ( + counter % 30 == 0 and + self._clientCancelCallback() + ): # check for cancel every 30 items - counter = 0 - if self._clientCancelCallback(): - break + break if self._clientCancelCallback(): break except pysvn.ClientError as e: