File: __init__.py

package info (click to toggle)
ldh-client 0.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 228 kB
  • sloc: python: 245; makefile: 17; sh: 5
file content (12 lines) | stat: -rw-r--r-- 296 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3
# Copyright 2017-2020 Purism SPC
# SPDX-License-Identifier: AGPL-3.0-or-later

import pkg_resources
import ruamel.yaml as yaml

default_yaml = pkg_resources.resource_string(
    __name__, "data/default.strict.yaml"
).decode("utf-8")

DEFAULT = yaml.safe_load(default_yaml)