Skip to content

Commit

Permalink
v0.14.1: Fix Python 3.5 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mDuo13 committed Apr 20, 2021
1 parent 8afa3b4 commit 23a5878
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dactyl/filter_buttonize.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def filter_soup(soup, logger=None, **kwargs):
"""make links ending in > render like buttons"""
buttonlinks = soup.find_all("a", string=re.compile("(>|>)$"))
logger.debug(f"Button links found: {buttonlinks}")
# logger.debug(f"Button links found: {buttonlinks}")
for link in buttonlinks:
link.string=link.string[:-1].strip()

Expand Down
2 changes: 1 addition & 1 deletion dactyl/filter_external_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def filter_soup(soup, logger=None, **kwargs):

links = soup.find_all("a", href=True)
for link in links:
logger.debug(f"Link: {link}")
# logger.debug(f"Link: {link}")
if extern_regex.match(link["href"]):
link["target"] = "_blank"
ex_link_marker = soup.new_tag("i", attrs={
Expand Down
2 changes: 1 addition & 1 deletion dactyl/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.14.0'
__version__ = '0.14.1'
4 changes: 4 additions & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.14.1 Release Notes

This release removes a couple of debug statements that broke compatibility with Python 3.5. (Python 3.5 has reached end of life, but Dactyl still works with it for now if you use the right versions of its dependencies.)

# v0.14.0 Release notes

This release improves the built-in templates, improves the documentation in the examples, and introduces the concept of "Virtual Pages". Virtual pages are placeholders for links to external sites, which you can insert into the automatically-generated navigation with a stanza similar to a page built by Dactyl.
Expand Down

0 comments on commit 23a5878

Please sign in to comment.