Added subdir argument, cleaned up arg handling
authorFredrik Unger <fred@tree.se>
Fri, 6 Dec 2013 21:18:48 +0000 (22:18 +0100)
committerFredrik Unger <fred@tree.se>
Fri, 6 Dec 2013 21:18:48 +0000 (22:18 +0100)
commitd8d052d9b448eb8f0ddc504de2f67faba65b618e
treead64a32730948b7aead6f970572162dd61240543
parente334f4bd5cbfd4ac928333c78dbfae3afe0c3a6a
Added subdir argument, cleaned up arg handling

Added the subdir argument to allow to put a treecutter site on
a deeper level than just www.example.org/ now also
www.example.org/subdir can be used.

Argument handling was changed so that sitemap gets all arguments in
its constructor as it deals the arguments at different stages.
All arguments are handed to sitemap that then distribute the needed
arguments.
treecutter/main.py
treecutter/sitemap.py
treecutter/trie.py