Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Feb 14, 2020
1 parent 1dee026 commit 07be30d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions jupytext/cell_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,6 @@ def rmd_options_to_metadata(options, use_runtools=False):
return metadata.get('language') or language, metadata


def metadata_to_md_options(metadata):
"""Encode {'class':None, 'key':'value'} into 'class key="value"' """

return ' '.join(["{}={}".format(key, dumps(metadata[key]))
if metadata[key] is not None else key for key in metadata])


def try_eval_metadata(metadata, name):
"""Evaluate the metadata to a python object, if possible"""
value = metadata[name]
Expand Down

0 comments on commit 07be30d

Please sign in to comment.