Skip to content

Commit

Permalink
#143: Minor docstring/logging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Sep 11, 2020
1 parent 26f303a commit 1e7572a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/icat/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def execute_query(self, client, return_json_formattable=False):
manipulated at some point)
:type return_json_formattable_data: :class:`bool`
:return: Data (of type list) from the executed query
:raises PythonICATError: If an error occurs during query execution
"""

try:
Expand Down Expand Up @@ -251,7 +252,6 @@ def entity_to_dict(self, entity, includes):
:type includes: :class:`set`
:return: ICAT Data (of type dictionary) ready to be serialised to JSON
"""
log.info("Converting entity (%s) to dictionary format", type(entity))
d = {}

# Split up the fields separated by dots and flatten the resulting lists
Expand Down

0 comments on commit 1e7572a

Please sign in to comment.