/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/apps/filesystem.py

  • Committer: Michael Hudson
  • Date: 2008-09-09 22:47:45 UTC
  • mfrom: (201.2.15 directory_breadcrumbs)
  • Revision ID: michael.hudson@canonical.com-20080909224745-mlzipmkekq8qfukn
merge Russ Brown's directory_breadcrumbs branch.
this makes the parts of the headings of each page that could usefully be links
into links.
(some extra cleanup by me)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    def app_for_branch(self, branch):
25
25
        if not self.name:
26
26
            name = branch.nick
 
27
            is_root = True
27
28
        else:
28
29
            name = self.name
 
30
            is_root = False
29
31
        branch_app = BranchWSGIApp(
30
 
            branch, name, {'cachepath': sql_dir}, self.root.graph_cache)
 
32
            branch, name, {'cachepath': sql_dir}, self.root.graph_cache,
 
33
            is_root=is_root)
31
34
        return branch_app.app
32
35
 
33
36
    def app_for_non_branch(self, environ):