summaryrefslogtreecommitdiff
path: root/python/skytools
diff options
context:
space:
mode:
authormartinko2014-10-08 08:44:04 +0000
committermartinko2014-10-08 08:44:04 +0000
commitd66cbbb668665fee17b937c47e6b58ce9ef82706 (patch)
tree016531c5f1d40038c845a8cff2e80f65cdd358fd /python/skytools
parentc673f4c93725d6dcf071404f0ef84e9a0ea6b7ae (diff)
parent11f9c011a507a51d25e64573150e61a979f82d1c (diff)
Merge branch 'release/3.2.3'3.2.3
Diffstat (limited to 'python/skytools')
-rw-r--r--python/skytools/scripting.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/skytools/scripting.py b/python/skytools/scripting.py
index 77c1bec5..24dd684b 100644
--- a/python/skytools/scripting.py
+++ b/python/skytools/scripting.py
@@ -671,7 +671,7 @@ class BaseScript(object):
In case of daemon, if will be called in same process as work(),
unlike __init__().
"""
- pass
+ self.log.info("Script finished, exiting")
# define some aliases (short-cuts / backward compatibility cruft)
stat_add = stat_put # Old, deprecated function.
@@ -957,7 +957,7 @@ class DBScript(BaseScript):
sql_retry_formula_a = self.cf.getint("sql_retry_formula_a", 1)
sql_retry_formula_b = self.cf.getint("sql_retry_formula_b", 5)
sql_retry_formula_cap = self.cf.getint("sql_retry_formula_cap", 60)
- elist = exceptions or tuple([])
+ elist = exceptions or tuple()
stime = time.time()
tried = 0
dbc = None