Skip to content

Commit bf67b85

Browse files
committed
[core] attribute: Remove redundant backslashes
1 parent 08e16dc commit bf67b85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meshroom/core/attribute.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ def _hasKeyableChilds(self) -> bool:
10911091
"""
10921092
Whether all child attributes are keyable.
10931093
"""
1094-
return all((isinstance(attribute, ShapeAttribute) and attribute.shapeKeyable) or \
1094+
return all((isinstance(attribute, ShapeAttribute) and attribute.shapeKeyable) or
10951095
attribute.keyable for attribute in self.value)
10961096

10971097
def _getNbObservations(self) -> int:
@@ -1114,8 +1114,8 @@ def hasObservation(self, key: str) -> bool:
11141114
"""
11151115
if not self.shapeKeyable:
11161116
return True
1117-
return all((isinstance(attribute, ShapeAttribute) and attribute.hasObservation(key)) or \
1118-
(not isinstance(attribute, ShapeAttribute) and attribute.keyValues.hasKey(key)) \
1117+
return all((isinstance(attribute, ShapeAttribute) and attribute.hasObservation(key)) or
1118+
(not isinstance(attribute, ShapeAttribute) and attribute.keyValues.hasKey(key))
11191119
for attribute in self.value)
11201120

11211121
@raiseIfLink

0 commit comments

Comments
 (0)