Browse files

set backup skip options into environment

rational: this way the hooks can incorprate them into their logic (e.g., don't run database pre-processing when we --skip-database)
  • Loading branch information...
1 parent 8be343d commit 85102a708b95419ca23c937b73fb760317824315 @lirazsiri lirazsiri committed Oct 24, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 conf.py
View
3 conf.py
@@ -134,6 +134,9 @@ def __setitem__(self, name, val):
else:
raise self.Error("bad bool value '%s'" % val)
+ if val:
+ os.environ['TKLBAM_' + name.upper()] = 'yes'
+
AttrDict.__setitem__(self, name, val)
def __init__(self, path=None):

0 comments on commit 85102a7

Please sign in to comment.