~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/__init__.py

  • Committer: William Grant
  • Date: 2009-05-18 12:13:44 UTC
  • Revision ID: grantw@unimelb.edu.au-20090518121344-m69gxcfqwoeirtru
Fix make_path_segments' docstring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
"""Utility functions for filesystem views."""
19
19
 
20
20
def make_path_segments(path, revno=None):
21
 
    """Split a path into a linkified HTML representation of its segments."""
 
21
    """Return a dict representation of information about a paths segments.
 
22
 
 
23
    Splits a path into its segments, and returns useful paths and URLs
 
24
    for each segment.
 
25
    """
22
26
 
23
27
    href_path = '/files'
24
28
    nav_path = ""