parsing not robust

Bug #1477875 reported by Olli Ries
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Sergio Schvezov

Bug Description

my package.yaml has a \t in the last empty line and snapcraft exists with:

yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
  in "snap/meta/package.yaml", line 12, column 1

while correct, I think it shouldn't bail on an (apparently) empty line

Tags: first-steps

Related branches

Revision history for this message
Olli Ries (ories) wrote :
tags: added: first-steps
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

But according to the yaml spec it is invalid, I can make it exit cleanly

Changed in snapcraft:
status: New → Fix Committed
Changed in snapcraft:
milestone: none → 0.2
assignee: nobody → Sergio Schvezov (sergiusens)
Changed in snapcraft:
importance: Undecided → Medium
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.