Skip to content

Commit d95e2b2

Browse files
lubosmjfilak-sap
authored andcommitted
Fix pylint warning
1 parent 7d4326f commit d95e2b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyodata/v2/service.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,8 @@ def nav(self, nav_property, key):
10021002
navigation_entity_set = self._service.schema.entity_set(end.entity_set_name)
10031003

10041004
if not navigation_entity_set:
1005-
raise PyODataException('No association set for role {} {}'.format(navigation_property.to_role, association_set.end_roles))
1005+
raise PyODataException(
1006+
'No association set for role {} {}'.format(navigation_property.to_role, association_set.end_roles))
10061007

10071008
roles = navigation_property.association.end_roles
10081009
if all((role.multiplicity != model.EndRole.MULTIPLICITY_ZERO_OR_MORE for role in roles)):

0 commit comments

Comments
 (0)