Add a slightly more-useful repr for DiskFiles
Change-Id: Ica2b637c9ee015c2cf129715e33d1ed1968b0a94
This commit is contained in:
parent
6b7eecab5d
commit
95212ac725
@ -2311,6 +2311,9 @@ class BaseDiskFile(object):
|
||||
device_path, storage_directory(get_data_dir(policy),
|
||||
partition, name_hash))
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s datadir=%r>' % (self.__class__.__name__, self._datadir)
|
||||
|
||||
@property
|
||||
def manager(self):
|
||||
return self._manager
|
||||
|
Loading…
Reference in New Issue
Block a user