Skip to content

Commit 5bc3a67

Browse files
authored
Merge pull request #37 from Pennycook/repr-string
Fix incorrect usage of _representation_string
2 parents 2ab2396 + 106c5eb commit 5bc3a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codebasin/preprocessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def to_json(self, assoc):
626626
return parent_json
627627

628628
def __repr__(self):
629-
return _representation_string(self, attrs="filename")
629+
return _representation_string(self, attrs=["filename"])
630630

631631
def __str__(self):
632632
return f"{str(self.filename)}; Hash: {str(self.file_hash)}"

0 commit comments

Comments
 (0)