Commit b235d186 authored by Gerion Entrup's avatar Gerion Entrup
Browse files

sqlfuse/functions: fix bug in debug output

parent 1c8991cd
......@@ -42,8 +42,7 @@ class Functions:
raise Exception("Type must be str or InstrumentedAttribute")
self._name_regex = re.compile(self._name_regex + '$')
"generated regex: {}".format(self._name_regex.pattern))
self.logger.debug("generated regex: " + self._name_regex.pattern)
def construct_with_functions(cls, gen_name, parse_name):
......@@ -97,7 +96,7 @@ class Functions:
The function is expected to return a modified query if the filename
matches a table row or return None otherwise.
self.logger.debug("parse name: ", name)
self.logger.debug("parse name: " + name)
res = self._name_regex.match(name)
if res is None:
return None
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment