CRLF confuses python's parser

Bug #270473 reported by Loïc Minier
2
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
Medium
Philippe Normand

Bug Description

Hey,

the pigment/message.py file in elisa-plugins-bad is CRLF terminated which confuses python's parser.

Try:
import parser

f=open('elisa/plugins/pigment/messages.py')
s=f.read()
ast = parser.suite(s)

this fails with the current file but works once converted.

Bye,

Related branches

Revision history for this message
Loïc Minier (lool) wrote :

elisa/plugins/poblesec/widgets/nothing_to_display.py is the second and last one in elisa-plugins-bad.

Changed in elisa:
importance: Undecided → Medium
milestone: none → 0.5.x
status: New → Triaged
Revision history for this message
Philippe Normand (philn) wrote :

Fix for Buf 260089 proposes to remove that messages.py file. And the nothing_to_display file doesn't exist anymore

Changed in elisa:
assignee: nobody → philn
milestone: 0.5.x → 0.5.32
status: Triaged → In Progress
Olivier Tilloy (osomon)
Changed in elisa:
status: In Progress → Fix Committed
Olivier Tilloy (osomon)
Changed in elisa:
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.