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