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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: config2py
3
- Version: 0.1.32
3
+ Version: 0.1.33
4
4
  Summary: Simplified reading and writing configurations from various sources and formats
5
5
  Home-page: https://github.com/i2mint/config2py
6
6
  Author: OtoSense
@@ -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
- if os.path.sep not in config_src:
32
- raise ValueError(
33
- f"There's a directory named {config_src}, so I'm not sure if you want "
34
- f" me to make an 'app' folder or not. Please specify "
35
- f'{config_src + os.path.sep} if you want to use it as a folder. '
36
- f"If you want to make an 'app' folder for {config_src}, then call the "
37
- f"get_configs_local_store function from a directory that doesn't "
38
- 'contain a {config_src} folder.'
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: config2py
3
- Version: 0.1.32
3
+ Version: 0.1.33
4
4
  Summary: Simplified reading and writing configurations from various sources and formats
5
5
  Home-page: https://github.com/i2mint/config2py
6
6
  Author: OtoSense
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = config2py
3
- version = 0.1.32
3
+ version = 0.1.33
4
4
  url = https://github.com/i2mint/config2py
5
5
  platforms = any
6
6
  description_file = README.md
File without changes
File without changes
File without changes
File without changes
File without changes