Merge pull request #638 from jpic/fix/define-HAS_LXC
Define HAS_LXC even if import lxc doesn't fail.
This commit is contained in:
commit
a5da6da2d6
1 changed files with 2 additions and 0 deletions
|
@ -385,6 +385,8 @@ try:
|
||||||
import lxc
|
import lxc
|
||||||
except ImportError:
|
except ImportError:
|
||||||
HAS_LXC = False
|
HAS_LXC = False
|
||||||
|
else:
|
||||||
|
HAS_LXC = True
|
||||||
|
|
||||||
|
|
||||||
# LXC_COMPRESSION_MAP is a map of available compression types when creating
|
# LXC_COMPRESSION_MAP is a map of available compression types when creating
|
||||||
|
|
Loading…
Add table
Reference in a new issue