Add new function settings_parse_copy_from
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 23 Jun 2018 07:45:54 +0000 (09:45 +0200)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 23 Jun 2018 07:45:54 +0000 (09:45 +0200)
commitf33494aa1a1e73c6e2a4dc35a51ef1f8afe5996c
treec07a07383831ff17975eb63c988596c1bd70d825
parentb7e02750a1ede2828ae1c38664a67f81307d9888
Add new function settings_parse_copy_from

When we get the copy_from settings from the command line we need
different parsing as if we get the setting from a file.

To avoid code duplication I maked this a function useable at both places
in the code.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Makefile.am
src/nitsi/settings.py [new file with mode: 0644]