pep8 fixes

This commit is contained in:
Thomas Vander Stichele
2012-11-29 19:54:46 +00:00
parent f0cb567a0d
commit cba7dbe41a
14 changed files with 68 additions and 32 deletions

View File

@@ -300,6 +300,7 @@ def shrinkPath(path):
path = os.path.join(*parts)
return path
def getRealPath(refPath, filePath):
"""
Translate a .cue or .toc's FILE to an existing path.
@@ -339,6 +340,7 @@ def getRealPath(refPath, filePath):
raise KeyError("Cannot find file for %r" % filePath)
def getRelativePath(targetPath, collectionPath):
"""
Get a relative path from the directory of collectionPath to