Add defaults.py

This adds a file from which default values can be imported, without
worrying about circular imports.

This could be a temporary measure, and this file may eventually be
removed.
This commit is contained in:
Erik Johnson 2014-08-11 14:35:37 -05:00
parent ede1c8fb9a
commit 40d687be84

10
salt/defaults.py Normal file
View File

@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
'''
Default values, to be imported elsewhere in Salt code
Do NOT, import any salt modules (salt.utils, salt.config, etc.) into this file,
as this may result in circular imports.
'''
# Default delimiter for multi-level traversal in targeting
DEFAULT_TARGET_DELIM = ':'