Refactoring, using const, removing global variables, passing some new arguments.
authorFredrik Unger <fred@tree.se>
Mon, 2 Apr 2012 14:48:17 +0000 (16:48 +0200)
committerFredrik Unger <fred@tree.se>
Mon, 2 Apr 2012 14:48:17 +0000 (16:48 +0200)
commitf53c2f69c2e8300a144004d31654846120a913a6
treee5cd4228d8d7e6335f53b2e984b9555547b852ea
parenta0a32ffb3c090aa365bad24cc874c86eeb555a59
Refactoring, using const, removing global variables, passing some new arguments.

This phase was to clean up the use of output and style in several places.
Now passed as arguments to the sections where it is needed.
Tempfile creation also localized.
treecutter/const.py
treecutter/directory.py
treecutter/link.py
treecutter/main.py
treecutter/page.py
treecutter/sitemap.py