fix typos ("log.warn" => "LOG.warning" => "log.warning")
This commit is contained in:
parent
ec8d141525
commit
de382fdb0c
@ -175,7 +175,7 @@ class PackageWriter:
|
||||
try:
|
||||
archive = tarfile.open(self.filename,'w:gz')
|
||||
except EnvironmentError as msg:
|
||||
LOG.warning(str(msg))
|
||||
log.warning(str(msg))
|
||||
self.user.notify_error(_('Failure writing %s') % self.filename, str(msg))
|
||||
return 0
|
||||
|
||||
|
@ -1394,7 +1394,7 @@ class CairoDoc(BaseDoc, TextDoc, DrawDoc):
|
||||
elif fe[-1] != self.EXT:
|
||||
# NOTE: the warning will be bogus
|
||||
# if the EXT isn't properly overridden by derived class
|
||||
LOG.warning(_(
|
||||
log.warning(_(
|
||||
"""Mismatch between selected extension %(ext)s and actual format.
|
||||
Writing to %(filename)s in format %(impliedext)s.""") %
|
||||
{'ext' : fe[-1],
|
||||
|
Loading…
Reference in New Issue
Block a user