summaryrefslogtreecommitdiff
path: root/python/skytools/scripting.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/skytools/scripting.py')
-rw-r--r--python/skytools/scripting.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/skytools/scripting.py b/python/skytools/scripting.py
index f9a69709..fe64d41f 100644
--- 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