1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Added __repr__ to BuildFile class.

This helps debugging.
This commit is contained in:
Christian González 2024-06-01 15:50:56 +02:00 committed by GitHub
parent adae619426
commit c0069b3219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,6 +162,9 @@ class BuildFile:
if os.path.exists(self.work_path):
os.unlink(self.work_path)
def __repr_(self):
return "<%s: %s>" % (self.__class__.__name__, self.translatable.path)
def normalize_eols(raw_contents):
"""