Fixed a few small typos.

Kent
This commit is contained in:
Kent Mein 2011-08-02 17:00:44 +00:00
parent 222190c618
commit 9026dc6ee4

@ -136,7 +136,7 @@ def display_name(name):
def display_name_from_filepath(name):
"""
Returns the path stripped of directort and extension,
Returns the path stripped of directory and extension,
ensured to be utf8 compatible.
"""
name = _os.path.splitext(basename(name))[0]
@ -204,7 +204,7 @@ def resolve_ncase(path):
def ensure_ext(filepath, ext, case_sensitive=False):
"""
Return the path with the extension added its its not alredy set.
Return the path with the extension added if it is not already set.
:arg ext: The extension to check for.
:type ext: string