projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70673a3
)
DBScript.stat_add - keep the old function for compat
author
Marko Kreen
<markokr@gmail.com>
Wed, 18 Jun 2008 09:15:50 +0000
(09:15 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Wed, 18 Jun 2008 09:15:50 +0000
(09:15 +0000)
python/skytools/scripting.py
patch
|
blob
|
blame
|
history
diff --git
a/python/skytools/scripting.py
b/python/skytools/scripting.py
index f9a69709d0091a9ca38d2ba946a12b4434b02d89..fe64d41f9b5f5ce6454acd0ccbdca0f1112fc030 100644
(file)
--- a/
python/skytools/scripting.py
+++ b/
python/skytools/scripting.py
@@
-371,6
+371,10
@@
class DBScript(object):
"Internal SIGINT handler. Minimal code here."
self.stop()
+ def stat_add(self, key, value):
+ """Old, deprecated function."""
+ self.stat_put(key, value)
+
def stat_put(self, key, value):
"""Sets a stat value."""
self.stat_dict[key] = value