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:
parent
adae619426
commit
c0069b3219
@ -162,6 +162,9 @@ class BuildFile:
|
|||||||
if os.path.exists(self.work_path):
|
if os.path.exists(self.work_path):
|
||||||
os.unlink(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):
|
def normalize_eols(raw_contents):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user