Skip to content

Fix typo in repoCleaner logging code - #2709

Merged
Barthelemy merged 1 commit into
AliceO2Group:masterfrom
knopers8:fix-repocleaner-typo
Nov 23, 2026
Merged

Barthelemy merged 1 commit into
AliceO2Group:masterfrom
knopers8:fix-repocleaner-typo

Conversation

@knopers8

Copy link
Copy Markdown
Collaborator
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.10/logging/__init__.py", line 1100, in emit
    msg = self.format(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 943, in format
    return fmt.format(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 678, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.10/logging/__init__.py", line 366, in getMessage
    msg = str(self.msg)
  File "/home/pkonopka/.local/lib/python3.10/site-packages/qcrepocleaner/Ccdb.py", line 53, in __repr__
    return representation
UnboundLocalError: local variable 'representation' referenced before assignment

```
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.10/logging/__init__.py", line 1100, in emit
    msg = self.format(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 943, in format
    return fmt.format(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 678, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.10/logging/__init__.py", line 366, in getMessage
    msg = str(self.msg)
  File "/home/pkonopka/.local/lib/python3.10/site-packages/qcrepocleaner/Ccdb.py", line 53, in __repr__
    return representation
UnboundLocalError: local variable 'representation' referenced before assignment
```
@Barthelemy
Barthelemy merged commit 81a3ad0 into AliceO2Group:master Nov 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants