Switch to unified view

a/scripts/create-allura-sitemap.py b/scripts/create-allura-sitemap.py
...
...
82
    for chunk in utils.chunked_find(M.Project):
82
    for chunk in utils.chunked_find(M.Project):
83
        for p in chunk:
83
        for p in chunk:
84
            c.project = p
84
            c.project = p
85
            try:
85
            try:
86
                locs += [BASE_URL + s.url if s.url[0] == '/' else s.url
86
                locs += [BASE_URL + s.url if s.url[0] == '/' else s.url
87
                         for s in p.sitemap()]
87
                        for s in p.sitemap(excluded_tools=['git', 'hg', 'svn'])]
88
            except Exception, e:
88
            except Exception, e:
89
                print "Error creating sitemap for project '%s': %s" %\
89
                print "Error creating sitemap for project '%s': %s" %\
90
                    (p.shortname, e)
90
                    (p.shortname, e)
91
            creds.clear()
91
            creds.clear()
92
            if len(locs) >= options.urls_per_file:
92
            if len(locs) >= options.urls_per_file: