mirror of
https://github.com/django/django.git
synced 2024-11-24 20:07:01 +01: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