Skip to content

Syntax error in setup.py.in #6377

Closed
@Firstyear

Description

@Firstyear
[  164s]            ^^^^^^^^^^^^^^^^^^^^^^
[  164s]   File "<frozen runpy>", line 291, in run_path
[  164s]   File "<frozen runpy>", line 98, in _run_module_code
[  164s]   File "<frozen runpy>", line 88, in _run_code
[  164s]   File "cli/dsctl", line 28, in <module>
[  164s]     from lib389.cli_ctl import dblib as cli_dblib
[  164s]   File "/home/abuild/rpmbuild/BUILD/389-ds-base-3.1.1~git39.b1b4356/src/lib389/lib389/cli_ctl/dblib.py", line 208
[  164s]     _log.info(f'Exporting changelog {cl5dbname} to {be['cl5name']}')
[  164s]                                                         ^^^^^^^
[  164s] SyntaxError: f-string: unmatched '['
[  164s] error: Bad exit status from /var/tmp/rpm-tmp.047GEl (%build)

Seems like there is a syntax error in setup.py.in that got missed. I think the outer quotes need to be " not ' to prevent the mistake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions