Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Nov 5, 2016
1 parent f1bc91d commit f9e3997
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions _unittests/run_unittests.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ def main():
fLOG(OutputPrint=True)
main_wrapper_tests(__file__)


if __name__ == "__main__":
main()
1 change: 1 addition & 0 deletions _unittests/ut_module/test_convert_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@ def test_convert_notebooks(self):
if t:
fLOG("modified", nbf)


if __name__ == "__main__":
unittest.main()
1 change: 1 addition & 0 deletions _unittests/ut_rss/test_rss_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,5 +177,6 @@ def test_rss_database_status_latest(self):
nb += 1
assert nb > 0


if __name__ == "__main__":
unittest.main()
4 changes: 4 additions & 0 deletions src/pyrsslocal/rss/rss_flask_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,9 @@ def get_binary_file(filename):
return f.read()

# -- HELP BEGIN EXCLUDE --


main_page_content = load_page("rss_reader.html")


# -- HELP END EXCLUDE --
1 change: 1 addition & 0 deletions src/pyrsslocal/simple_server/simple_server_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ def run_server(server, thread=False, port=8080):
server.serve_forever()
return server


if __name__ == '__main__':
fLOG(OutputPrint=True)
fLOG("running server")
Expand Down
1 change: 1 addition & 0 deletions src/pyrsslocal/xmlhelper/xml_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def fixup(m):
return text # leave as is
return re.sub("&#?\w+;", fixup, text)


character_to_escape = {
"é": "é",
" ": " ",
Expand Down

0 comments on commit f9e3997

Please sign in to comment.