# HG changeset patch # User Goffi # Date 1453736380 -3600 # Node ID 05cd9dc775e62489f44b4473ad276c518b1a5ab6 # Parent 0e9341e537d6d65b38cf66385566810abe23cf1d server: use of relative import instead of try/except block in server/constants diff -r 0e9341e537d6 -r 05cd9dc775e6 src/server/constants.py --- a/src/server/constants.py Sun Jan 24 20:06:06 2016 +0100 +++ b/src/server/constants.py Mon Jan 25 16:39:40 2016 +0100 @@ -17,11 +17,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -try: - from libervia.common import constants -except ImportError: - # needed for installing libervia the first time - from src.common import constants +from ..common import constants class Const(constants.Const):