mirror of
https://github.com/django/django.git
synced 2025-10-28 08:06:09 +00:00
Added __repr__ to BuildFile class.
This helps debugging.
This commit is contained in:
committed by
GitHub
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):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user