can use tiramisu-cmdline-parser without tiramisu

This commit is contained in:
Emmanuel Garette 2019-01-16 09:43:49 +01:00
parent c0f2e7d8dd
commit dc550d0e69
1 changed files with 2 additions and 1 deletions

View File

@ -16,11 +16,12 @@
from typing import Union, List, Optional
from argparse import ArgumentParser, Namespace, SUPPRESS, _HelpAction
from tiramisu.error import PropertiesOptionError
try:
from tiramisu import Config
from tiramisu.error import PropertiesOptionError
except ImportError:
Config = None
from tiramisu_json_api.error import PropertiesOptionError
try:
from tiramisu_json_api import Config as ConfigJson
if Config is None: