Bug #1924
Remove has_key method from Python scripts
Status: | Closed | Start date: | 02/09/2017 | |
---|---|---|---|---|
Priority: | Urgent | Due date: | ||
Assigned To: | Knödlseder Jürgen | % Done: | 100% | |
Category: | - | |||
Target version: | 1.2.0 | |||
Duration: |
Description
The has_key()
method should not be used on Python scripts as it has been removed in Python 3.x. Instead of
d.has_key('a')
the following should be used
'a' in d
Recurrence
No recurrence.
History
#1 Updated by Knödlseder Jürgen almost 8 years ago
So far the following scripts are concerned:
examples/show_response.py examples/show_sensitivity.py
#2 Updated by Knödlseder Jürgen almost 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Merged into devel