remove unnecessary brackets

This commit is contained in:
Christophe Benz 2010-12-08 16:41:08 +01:00 committed by Romain Bignon
commit 3dd50f363d
11 changed files with 13 additions and 12 deletions

View file

@ -287,7 +287,7 @@ class BackendCfg(QDialog):
backend.license,
(unicode(self.tr('<b>Website</b>: %s<br />')) % backend.website) if backend.website else '',
backend.description,
', '.join(sorted([cap.__name__.replace('ICap', '') for cap in backend.iter_caps()]))))
', '.join(sorted(cap.__name__.replace('ICap', '') for cap in backend.iter_caps()))))
if backend.has_caps(ICapAccount) and self.ui.nameEdit.isEnabled() and backend.klass.ACCOUNT_REGISTER_PROPERTIES is not None:
self.ui.registerButton.show()