45 comment, line = CommentTracker.__commentAndLine(typedPath)
46 if comment == WritableComment.NO_COMMENT:
47 raise ValueError(
"No writable comment found")
48 elif comment == WritableComment.ONCE:
49 return (
"#selfieonce", line)
50 elif comment == WritableComment.FOREVER:
51 return (
"#SELFIEWRITE", line)
53 raise ValueError(
"Invalid comment type")