Remove redundant assignments of self._datadir

This is harmless, but honestly annoying. Introduced by the big
ssync change If003dcc6f4109e2d2a42f4873a0779110fff16d6 .

Change-Id: I1a7c0171e03b900ca75da39b152cdffe60abe135
This commit is contained in:
Pete Zaitcev
2017-04-18 15:51:14 -06:00
parent 9627bcbc94
commit 702c24d3b2

View File

@@ -1932,17 +1932,12 @@ class BaseDiskFile(object):
self._account = account
self._container = container
self._obj = obj
name_hash = hash_path(account, container, obj)
self._datadir = join(
device_path, storage_directory(get_data_dir(policy),
partition, name_hash))
else:
# gets populated when we read the metadata
self._name = None
self._account = None
self._container = None
self._obj = None
self._datadir = None
self._tmpdir = join(device_path, get_tmp_dir(policy))
self._ondisk_info = None
self._metadata = None