diff --git a/cloud/lxc/lxc_container.py b/cloud/lxc/lxc_container.py index 090d4f73c97..bf5fcf3cecf 100644 --- a/cloud/lxc/lxc_container.py +++ b/cloud/lxc/lxc_container.py @@ -385,6 +385,8 @@ try: import lxc except ImportError: HAS_LXC = False +else: + HAS_LXC = True # LXC_COMPRESSION_MAP is a map of available compression types when creating