mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Added __repr__ to BuildFile class.
This helps debugging.
This commit is contained in:
parent
adae619426
commit
c0069b3219
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user