Revision 3ccb3a64 lib/config.py
b/lib/config.py | ||
---|---|---|
1839 | 1839 |
# Make sure the configuration has the right version |
1840 | 1840 |
_ValidateConfig(data) |
1841 | 1841 |
|
1842 |
if (not hasattr(data, 'cluster') or
|
|
1843 |
not hasattr(data.cluster, 'rsahostkeypub')):
|
|
1842 |
if (not hasattr(data, "cluster") or
|
|
1843 |
not hasattr(data.cluster, "rsahostkeypub")):
|
|
1844 | 1844 |
raise errors.ConfigurationError("Incomplete configuration" |
1845 | 1845 |
" (missing cluster.rsahostkeypub)") |
1846 | 1846 |
|
Also available in: Unified diff