summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/src/globals.py')
-rw-r--r--rdiff-backup/src/globals.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/rdiff-backup/src/globals.py b/rdiff-backup/src/globals.py
index a06eb61..2a042a8 100644
--- a/rdiff-backup/src/globals.py
+++ b/rdiff-backup/src/globals.py
@@ -8,7 +8,7 @@ import re, os
class Globals:
# The current version of rdiff-backup
- version = "0.7.5"
+ version = "0.7.5.1"
# If this is set, use this value in seconds as the current time
# instead of reading it from the clock.
@@ -79,6 +79,12 @@ class Globals:
# Connection of the backup writer
backup_writer = None
+ # True if this process is the client invoked by the user
+ isclient = None
+
+ # Connection of the client
+ client_conn = None
+
# This list is used by the set function below. When a new
# connection is created with init_connection, its Globals class
# will match this one for all the variables mentioned in this
@@ -144,6 +150,9 @@ class Globals:
# Determines whether or not ssh will be run with the -C switch
ssh_compression = 1
+ # If true, print statistics after successful backup
+ print_statistics = None
+
# On the reader and writer connections, the following will be
# replaced by the source and mirror Select objects respectively.
select_source, select_mirror = None, None