Remove the warning when undefining an undefined macro.

This commit is contained in:
Chris Johns 2015-12-11 14:21:29 +11:00
parent 721a00b140
commit cbcfcd0bdb

View File

@ -710,8 +710,6 @@ class file:
mn = self._label(ls[1])
if mn in self.macros:
del self.macros[mn]
else:
log.warning("macro '%s' not defined" % (mn))
def _ifs(self, config, ls, label, iftrue, isvalid, dir, info):
in_iftrue = True