Skip to content

Commit e81a89d

Browse files
author
Stepan Neretin
committed
delete data dir setter
1 parent e63371a commit e81a89d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

testgres/node.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -440,15 +440,7 @@ def logs_dir(self):
440440

441441
@property
442442
def data_dir(self):
443-
# NOTE: we can't run initdb without user's args
444-
if hasattr(self, '_data_dir'):
445-
return self._data_dir
446-
else:
447-
return os.path.join(self.base_dir, DATA_DIR)
448-
449-
@data_dir.setter
450-
def data_dir(self, value):
451-
self._data_dir = value
443+
return os.path.join(self.base_dir, DATA_DIR)
452444

453445
@property
454446
def utils_log_file(self):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy