pychecker and docstring fixes

This commit is contained in:
Thomas Vander Stichele
2009-05-23 07:49:48 +00:00
parent 80475df042
commit 5f63551816
3 changed files with 17 additions and 5 deletions

View File

@@ -31,13 +31,13 @@ FRAMES_PER_SECOND = 75
def msfToFrames(msf):
"""
Converts a string value in MM:SS:FF to frames
Converts a string value in MM:SS:FF to frames.
@param msf:
@param msf: the MM:SS:FF value to convert
@type msf: str
@rtype int
@returns number of frames
@rtype: int
@returns: number of frames
"""
if not ':' in msf:
return int(msf)