# HG changeset patch # User Goffi # Date 1580322076 -3600 # Node ID 320b762cbdf0fcda4c0616e6b963d248eb3a1fb1 # Parent 3f414c897e7035df4f41022aa8bd381f347d8dfd core (constants): missing trailing `/` diff -r 3f414c897e70 -r 320b762cbdf0 sat/core/constants.py --- a/sat/core/constants.py Wed Jan 29 19:12:46 2020 +0100 +++ b/sat/core/constants.py Wed Jan 29 19:21:16 2020 +0100 @@ -22,8 +22,8 @@ from os.path import expanduser, realpath except ImportError: BaseDirectory = None +from os.path import dirname import sat -from pathlib import Path class Const(object): @@ -453,7 +453,7 @@ ] else: import os - root_dir = Path(sat.__file__).parent + root_dir = dirname(sat.__file__) + '/' Const.CONFIG_PATHS = ( ["/etc/", "~/", "~/."] + [