Skip to content

Commit

Permalink
Fix issue with private variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
pagreene committed Jul 17, 2020
1 parent e031a7d commit 20fb342
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion indra_db/reading/read_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,14 @@ def __init__(self, result, reading_id=None, db_info_id=None,
self.indra_version = get_indra_version()
else:
self.indra_version = indra_version
self.__text_patt = re.compile('[\W_]+')
return


class DatabaseStatementData(DatabaseResultData):
def __init__(self, *args, **kwargs):
super(DatabaseStatementData, self).__init__(*args, **kwargs)
self.__text_patt = re.compile('[\W_]+')

@staticmethod
def get_cols():
"""Get the columns for the tuple returned by `make_tuple`."""
Expand Down

0 comments on commit 20fb342

Please sign in to comment.