Lines Matching refs:NEWLINES
15 NEWLINES = 'lf'
41 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
392 if NEWLINES == "all":
396 {"cr": "\r", "lf": "\n", "crlf": "\r\n"}[NEWLINES])
418 global TEXT_ENCODING, NEWLINES
437 parser.add_option("-N", "--newlines",
438 action="store", dest="newlines", default='lf',
447 NEWLINES = options.newlines.lower()
448 if NEWLINES not in ('lf', 'cr', 'crlf', 'all'):
449 parser.error("invalid 'newlines' option: %r" % NEWLINES)