cleanups
This commit is contained in:
parent
05cd396e10
commit
ba176917f5
1 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,3 @@
|
||||||
from ..core import logger
|
|
||||||
|
|
||||||
|
|
||||||
class Layout:
|
class Layout:
|
||||||
def __init__(self, myLayout):
|
def __init__(self, myLayout):
|
||||||
self.name = myLayout
|
self.name = myLayout
|
||||||
|
|
@ -39,7 +36,8 @@ class LayoutList:
|
||||||
if h is not None:
|
if h is not None:
|
||||||
l.hostgroups.append(h)
|
l.hostgroups.append(h)
|
||||||
else:
|
else:
|
||||||
logger.logWarningConfig(file="hostgroups", missing=group)
|
# TODO: replace next line with new logging
|
||||||
|
#logger.logWarningConfig(file="hostgroups", missing=group)
|
||||||
self.layouts.append(l)
|
self.layouts.append(l)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue