config2py 0.1.32__tar.gz → 0.1.33__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {config2py-0.1.32 → config2py-0.1.33}/PKG-INFO +1 -1
- {config2py-0.1.32 → config2py-0.1.33}/config2py/tools.py +11 -9
- {config2py-0.1.32 → config2py-0.1.33}/config2py.egg-info/PKG-INFO +1 -1
- {config2py-0.1.32 → config2py-0.1.33}/setup.cfg +1 -1
- {config2py-0.1.32 → config2py-0.1.33}/LICENSE +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/README.md +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/__init__.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/base.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/errors.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/s_configparser.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/scrap/__init__.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/tests/__init__.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/tests/test_tools.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/tests/util.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py/util.py +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py.egg-info/SOURCES.txt +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py.egg-info/dependency_links.txt +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py.egg-info/not-zip-safe +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py.egg-info/requires.txt +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/config2py.egg-info/top_level.txt +0 -0
- {config2py-0.1.32 → config2py-0.1.33}/setup.py +0 -0
|
@@ -28,15 +28,17 @@ def get_configs_local_store(
|
|
|
28
28
|
If it's a string, it's assumed to be an app name, from which to create a folder
|
|
29
29
|
"""
|
|
30
30
|
if os.path.isdir(config_src):
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
31
|
+
# TODO: This was a quick fix to avoid unknowingly making directories in the
|
|
32
|
+
# wrong place. Broke stuff so leaving this for later.
|
|
33
|
+
# if os.path.sep not in config_src:
|
|
34
|
+
# raise ValueError(
|
|
35
|
+
# f"There's a directory named {config_src}, so I'm not sure if you want "
|
|
36
|
+
# f" me to make an 'app' folder or not. Please specify "
|
|
37
|
+
# f"{config_src + os.path.sep} if you want to use it as a folder. "
|
|
38
|
+
# f"If you want to make an 'app' folder for {config_src}, then call the "
|
|
39
|
+
# f"get_configs_local_store function from a directory that doesn't "
|
|
40
|
+
# "contain a {config_src} folder."
|
|
41
|
+
# )
|
|
40
42
|
return TextFiles(config_src)
|
|
41
43
|
elif os.path.isfile(config_src):
|
|
42
44
|
# TODO: Not tested
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|