projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify log message about missing data files
[mudpy.git]
/
mudpy
/
data.py
diff --git
a/mudpy/data.py
b/mudpy/data.py
index
eeea8fb
..
b45cd67
100644
(file)
--- a/
mudpy/data.py
+++ b/
mudpy/data.py
@@
-1,6
+1,6
@@
"""Data interface functions for the mudpy engine."""
"""Data interface functions for the mudpy engine."""
-# Copyright (c) 2004-202
1
mudpy authors. Permission to use, copy,
+# Copyright (c) 2004-202
2
mudpy authors. Permission to use, copy,
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
@@
-63,7
+63,8
@@
class Data:
except FileNotFoundError:
# it's normal if the file is one which doesn't exist yet
self.data = {}
except FileNotFoundError:
# it's normal if the file is one which doesn't exist yet
self.data = {}
- log_entry = ("File %s is unavailable." % self.source, 6)
+ log_entry = (
+ "File %s was not found and will be created." % self.source, 6)
try:
mudpy.misc.log(*log_entry)
except NameError:
try:
mudpy.misc.log(*log_entry)
except NameError: