Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Comment parsing of config_initialize.txt does not allow #-preceding whitespace. #8

Copy link
Copy link
@awwad

Description

@awwad
Issue body actions

If I correctly understand, then if a line in config_initialize.txt (the dependencies specification for a build) is intended as a comment, but the # is not the very first character (e.g. if the comment line is indented), it will not be properly recognized as a comment line and may be parsed incorrectly. It would fall through this check: https://github.com/SeattleTestbed/buildscripts/blob/master/initialize.py#L73
If we want to avoid that issue, we can simply do this instead of the existing line:

  if line.strip().startswith("#") or line.strip() == '':
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.