mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-24 03:29:28 +01:00
Changed two warnings to errors.
This commit is contained in:
parent
f2d064cfac
commit
816f494d8c
@ -561,7 +561,7 @@ class UsersDictionary(utils.IterableMap):
|
|||||||
except EnvironmentError, e:
|
except EnvironmentError, e:
|
||||||
log.warning('UsersDictionary.reload failed: %s', e)
|
log.warning('UsersDictionary.reload failed: %s', e)
|
||||||
else:
|
else:
|
||||||
log.warning('UsersDictionary.reload called with no filename.')
|
log.error('UsersDictionary.reload called with no filename.')
|
||||||
|
|
||||||
def flush(self):
|
def flush(self):
|
||||||
"""Flushes the database to its file."""
|
"""Flushes the database to its file."""
|
||||||
@ -576,7 +576,7 @@ class UsersDictionary(utils.IterableMap):
|
|||||||
u.preserve(fd, indent=' ')
|
u.preserve(fd, indent=' ')
|
||||||
fd.close()
|
fd.close()
|
||||||
else:
|
else:
|
||||||
log.warning('UsersDictionary.flush called with no filename.')
|
log.error('UsersDictionary.flush called with no filename.')
|
||||||
else:
|
else:
|
||||||
log.debug('Not flushing UsersDictionary becuase of noFlush.')
|
log.debug('Not flushing UsersDictionary becuase of noFlush.')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user