You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
cdist-mirror/module/cdist/path.py

11 lines
314 B

class Path:
"""Class that handles path related configurations"""
def __init__(self, home=None):
if home:
self.base_dir = home
else:
self.base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
print("Base:" + self.base_dir)