Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit b63cf62

Browse files
committed
Updated version.
1 parent 7da1375 commit b63cf62

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

src/oidcmsg/__init__.py

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Roland Hedberg"
2-
__version__ = "1.5.1"
2+
__version__ = "1.5.2"
33

44
import os
55
from typing import Dict
@@ -32,39 +32,3 @@ def proper_path(path):
3232
path += "/"
3333

3434
return path
35-
36-
37-
# def add_base_path(conf: Dict[str, str], item_paths: dict, base_path: str):
38-
# """
39-
# This is for adding a base path to path specified in a configuration
40-
#
41-
# :param conf: Configuration
42-
# :param item_paths: The relative item path
43-
# :param base_path: An absolute path to add to the relative
44-
# """
45-
# for section, items in item_paths.items():
46-
# if section == "":
47-
# part = conf
48-
# else:
49-
# part = conf.get(section)
50-
#
51-
# if part:
52-
# if isinstance(items, list):
53-
# for attr in items:
54-
# _path = part.get(attr)
55-
# if _path:
56-
# if _path.startswith("/"):
57-
# continue
58-
# elif _path == "":
59-
# part[attr] = "./" + _path
60-
# else:
61-
# part[attr] = os.path.join(base_path, _path)
62-
# elif items is None:
63-
# if part.startswith("/"):
64-
# continue
65-
# elif part == "":
66-
# conf[section] = "./"
67-
# else:
68-
# conf[section] = os.path.join(base_path, part)
69-
# else: # Assume items is dictionary like
70-
# add_base_path(part, items, base_path)

0 commit comments

Comments
 (0)