diff --git a/gramps/plugins/export/exportpkg.py b/gramps/plugins/export/exportpkg.py index f7cbfd55e..0d90b3c81 100644 --- a/gramps/plugins/export/exportpkg.py +++ b/gramps/plugins/export/exportpkg.py @@ -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 diff --git a/gramps/plugins/lib/libcairodoc.py b/gramps/plugins/lib/libcairodoc.py index 2e0c523d5..60b383ea6 100644 --- a/gramps/plugins/lib/libcairodoc.py +++ b/gramps/plugins/lib/libcairodoc.py @@ -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],