aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-12-06 00:23:52 -0800
committerZhiming Wang <zmwangx@gmail.com>2015-12-06 00:23:52 -0800
commit4cf886bd7681f05bf7a70efecacd99d84a151e42 (patch)
treee50c4bb0bef9a7e0e00235ba571f727895db97a4
parent6aa3552cf87ba9cd7258bca0e7fa80beb925cd6d (diff)
downloadmy_new_personal_website-4cf886bd7681f05bf7a70efecacd99d84a151e42.tar.xz
my_new_personal_website-4cf886bd7681f05bf7a70efecacd99d84a151e42.zip
pyblog: Correct typos
Diffstat (limited to '')
-rwxr-xr-xpyblog4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyblog b/pyblog
index 593dd678..77187c95 100755
--- a/pyblog
+++ b/pyblog
@@ -414,7 +414,7 @@ def generate_sitemap(feed):
sys.stderr.write("wrote sitemap.xml\n")
-def abosolutify_links(soup, baseurl):
+def absolutify_links(soup, baseurl):
"""Make links in an article absolute.
Parameters
@@ -529,7 +529,7 @@ def generate_index_and_feed():
for script_tag in article.find_all("script"):
tags_to_remove.append(script_tag)
# make internal links absolute
- abosolutify_links(article, entry_url)
+ absolutify_links(article, entry_url)
# remove marked tags
for tag in tags_to_remove:
tag.extract()