summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Globals.py
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-07-18 21:52:11 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-07-18 21:52:11 +0000
commit467844f89ee7e0feee26effdffc0bddc456ab39f (patch)
tree9ef1a21ce45e999840930cab9c5830c704bc1f20 /rdiff-backup/rdiff_backup/Globals.py
parentc0f124d8ed1585a4b852eabe0ed938b4d612b827 (diff)
downloadrdiff-backup-467844f89ee7e0feee26effdffc0bddc456ab39f.tar.gz
Add --tempfile and --remote-tempfile options.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@829 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Globals.py')
-rw-r--r--rdiff-backup/rdiff_backup/Globals.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/Globals.py b/rdiff-backup/rdiff_backup/Globals.py
index c130143..9a71ce9 100644
--- a/rdiff-backup/rdiff_backup/Globals.py
+++ b/rdiff-backup/rdiff_backup/Globals.py
@@ -226,6 +226,10 @@ permission_mask = 07777
# the original permissions
symlink_perms = None
+# If set, the path that should be used instead of the default Python
+# tempfile.tempdir value on remote connections
+remote_tempdir = None
+
def get(name):
"""Return the value of something in this module"""
return globals()[name]