Skip to content

Commit

Permalink
Merge pull request #331 from dcslagel/deprecate_docstring
Browse files Browse the repository at this point in the history
Add a simple deprecation docstring to to_json_old()
  • Loading branch information
kinverarity1 authored May 10, 2020
2 parents a383a23 + 32c467d commit b89bf3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lasio/las.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,10 @@ def json(self):
return self.to_json()

def to_json_old(self):
"""
deprecated: to_json_old version=0.25.1 since=20200507 remove=20210508
replacement_options: to_json()
"""
obj = OrderedDict()
for name, section in self.sections.items():
try:
Expand Down

0 comments on commit b89bf3b

Please sign in to comment.