WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 357cb4e

Browse files
committed
Corrected typo
1 parent 21af25f commit 357cb4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/collective/iconifiedcategory/upgrades.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ def upgrade_to_2100(context):
4848
for brain in brains:
4949
obj = brain.getObject()
5050
# this can be useless if using behavior 'Scan metadata' collective.dms.scanbehavior
51-
if not(base_hasattr(obj, 'to_sign')):
51+
if not (base_hasattr(obj, 'to_sign')):
5252
setattr(obj, 'to_sign', False)
53-
if not(base_hasattr(obj, 'signed')):
53+
if not (base_hasattr(obj, 'signed')):
5454
setattr(obj, 'signed', False)
5555

5656
parent = obj.aq_parent
@@ -80,7 +80,7 @@ def upgrade_to_2101(context):
8080
parents_to_update = []
8181
for brain in brains:
8282
obj = brain.getObject()
83-
if not(base_hasattr(obj, 'publishable')):
83+
if not (base_hasattr(obj, 'publishable')):
8484
setattr(obj, 'publishable', False)
8585

8686
parent = obj.aq_parent

0 commit comments

Comments
 (0)