Skip to content

Commit a63436f

Browse files
committed
Removed unused try block
1 parent 8dce507 commit a63436f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

jmespath/visitor.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ def visit_field(self, node, value, *args, **kwargs):
138138
## value from the scopes stack
139139

140140
def get_value_from_current_context_or_scopes():
141-
##try:
142-
## return getattr(value, identifier)
143-
##except AttributeError:
144141
if 'scopes' in kwargs:
145142
return kwargs['scopes'].getValue(identifier)
146143
return None

0 commit comments

Comments
 (0)