summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/globals.py
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-05-25 20:38:21 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-05-25 20:38:21 +0000
commit1d050174970945c986f6c4f1c0b9cf922fd24bc2 (patch)
treecbf759920e7915c0e752a002edcd260160ebbf34 /rdiff-backup/src/globals.py
parent7a82871f7b6d25464516dd659f3e98cc56211ff1 (diff)
downloadrdiff-backup-1d050174970945c986f6c4f1c0b9cf922fd24bc2.tar.gz
Final update of statistics stuff
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@109 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
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