rpm-software-management/tito

Can't do `tito tag` with tito from git-master

praiskup opened this issue · 0 comments

Creating output directory: /tmp/tito
Traceback (most recent call last):
  File "/usr/bin/tito", line 33, in <module>
    sys.exit(load_entry_point('tito==0.6.24', 'console_scripts', 'tito')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/tito/cli.py", line 944, in main
    CLI().main(sys.argv[1:])
  File "/usr/lib/python3.12/site-packages/tito/cli.py", line 210, in main
    return module.main(argv)
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/tito/cli.py", line 709, in main
    self.load_config(package_name, build_dir, None)
  File "/usr/lib/python3.12/site-packages/tito/cli.py", line 307, in load_config
    self._check_config_and_load(loader)
  File "/usr/lib/python3.12/site-packages/tito/cli.py", line 288, in _check_config_and_load
    self.config = loader.load()
                  ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/tito/cli.py", line 76, in load
    self.config = self._read_config()
                  ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/tito/cli.py", line 101, in _read_config
    config.read(filename)
                ^^^^^^^^
NameError: name 'filename' is not defined