projects
/
treecutter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sitemap: support for draft, levels and templates
[treecutter.git]
/
treecutter
/
sitemap.py
diff --git
a/treecutter/sitemap.py
b/treecutter/sitemap.py
index 707067f1f8cf28a284759248ce111ef520bf780a..347440b777eb8418158ed90d21ceaa0ac139b4fd 100644
(file)
--- a/
treecutter/sitemap.py
+++ b/
treecutter/sitemap.py
@@
-57,11
+57,13
@@
class Sitemap():
def set(self):
return set(link.link() for link in self._tree)
def set(self):
return set(link.link() for link in self._tree)
+ def linklist(self):
+ return [link.link() for link in self._tree]
+
# Main driver in the application processing the documents
# in the collected sitemap
def process(self):
t1 = time()
# Main driver in the application processing the documents
# in the collected sitemap
def process(self):
t1 = time()
- print "Prepareing the input"
for link in self._tree:
link.prepare()
t2 = time()
for link in self._tree:
link.prepare()
t2 = time()