Commit 214db720 authored by Cédric de Saint Martin's avatar Cédric de Saint Martin Committed by Rafael Monnerat

slapos: add support for cliff 1.7.0.

parent 9329f9a6
......@@ -41,7 +41,11 @@ os.environ.setdefault('EDITOR', 'vi')
import cliff
import cliff.app
from cliff.app import LOG
try:
LOG = cliff.app.App.LOG
except AttributeError:
# Support for older (< 1.7.0) cliff versions
from cliff.app import LOG
import cliff.commandmanager
import slapos.version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment