buildout config parser confused by comments

Bug #255266 reported by rohan nicholls
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Buildout
Confirmed
Wishlist
Unassigned

Bug Description

Very simple:

# Reportlab
This comment is treated as a comment.
         #Reportlab
This is not, and causes an error when it is searching for
eggs it is not supposed to be looking for.

I have not messed with having comments after an entry
so don't know if this works properly
        Reportlab #newly added
but it should.

Revision history for this message
Jim Fulton (jim-zope) wrote :

This is a limitation of the ConfigParser format and can't be changed without causing backward-compatibility problems.

It would make sense to add a section to the documentation to clearly define how comments can be made.

Changed in zc.buildout:
importance: Undecided → Wishlist
status: New → Confirmed
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.