Skip to content

Commit

Permalink
Restore required import to fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfargus committed Jun 27, 2021
1 parent b4e419e commit 63cfb8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rinoh/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ class SECTION_TITLE(SectionFieldType):
reference_type = 'title'


from . import structure # fills StringCollection.subclasses

RE_STRINGFIELD = ('|'.join(r'{}\.(?:[a-z_][a-z0-9_]*)'
.format(collection_name)
for collection_name in StringCollection.subclasses))
Expand Down

0 comments on commit 63cfb8f

Please sign in to comment.