Browse Source

...

python3 2.5.6
Volker Birk 5 years ago
parent
commit
1aee24d61c
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      yml2c

+ 0
- 6
yml2c View File

@ -64,12 +64,6 @@ try:
backend.includePath.extend(dirs)
files = fileinput.input(args, mode="rU", openhook=fileinput.hook_encoded(options.encoding))
# fileinput suffer from two nasty bugs :
# - ignoring open hook with stdin
# - iterator requires ctrl-D to be pressed twice on some platform
#if args in [[],['-']] :
# files._files=[]
# files._buffer=[unicode(line, options.encoding) for line in sys.stdin.readlines()]
ymlC = ymlCStyle()
result = parse(ymlC, files, True, comment, packrat=True)


Loading…
Cancel
Save