Commit c344cdf1 authored by Marc's avatar Marc
Browse files

default_repo is now loaded as default repository at programm start

parent d222fc30
......@@ -135,7 +135,7 @@ class Config:
def load_config(repositories=None):
# always use the installed repository as the first repo
all_repositories = [pkg_resources.resource_filename('psot', '')]
all_repositories = [pkg_resources.resource_filename('psot', 'default_repo')]
# check for repositories via environment variable
......@@ -145,7 +145,7 @@ def load_config(repositories=None):
# convert all paths to absolute paths
env_repos = [os.path.abspath(x) for x in env_repos]
os.environ['PSOT_REPOSITORIES'] = ":".join(env_repos)
if repositories:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment