Django

Code

Changeset 6455

Show
Ignore:
Timestamp:
10/05/07 21:19:15 (1 year ago)
Author:
gwilson
Message:

Fixed typo in comment.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/views/static.py

    r5511 r6455  
    3030    for part in path.split('/'): 
    3131        if not part: 
    32             # strip empty path components 
     32            # Strip empty path components. 
    3333            continue 
    3434        drive, part = os.path.splitdrive(part) 
    3535        head, part = os.path.split(part) 
    3636        if part in (os.curdir, os.pardir): 
    37             # strip '.' amd '..' in path 
     37            # Strip '.' and '..' in path. 
    3838            continue 
    3939        newpath = os.path.join(newpath, part).replace('\\', '/')