bpd1069 / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

small issue in naclport/src/lib/naclports/pkg_info.py #199

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- in naclport
1. create a pkg_info that contains a blank line in the middle
2. run build_tools/check_deps.py

What is the expected output? What do you see instead?
should pass the verify, instead I saw:
Traceback (most recent call last):
  File "build_tools/check_deps.py", line 41, in <module>
    sys.exit(main(sys.argv[1:]))
  File "build_tools/check_deps.py", line 31, in main
    for p in naclports.source_package.SourcePackageIterator()]
   .....
"/usr/local/google/home/tccyp/naclport/src/lib/naclports/pkg_info.py", line 67, 
in ParsePkgInfo
    if line[0] == '#':
IndexError: string index out of range

What version of the product are you using? On what operating system?
N/a

Please provide any additional information below.

Original issue reported on code.google.com by tc...@google.com on 27 Feb 2015 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by sbc@google.com on 13 Mar 2015 at 4:27

GoogleCodeExporter commented 9 years ago

Original comment by sbc@google.com on 13 Mar 2015 at 6:30