diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-06-30 03:00:18 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-06-30 03:00:18 +0000 |
commit | 5e09353fe5ce80b724a30db11cb10523d147c6ec (patch) | |
tree | 083998f6893121da5d651ee7a475fde3372c78f9 /rdiff-backup/rdiff_backup/SetConnections.py | |
parent | 46afa3e6b3aacfe05d1586a583a2606cc139f658 (diff) | |
download | rdiff-backup-5e09353fe5ce80b724a30db11cb10523d147c6ec.tar.gz |
Many changes - added extended attribute support and file system
ability detection
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@334 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/SetConnections.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/SetConnections.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/rdiff-backup/rdiff_backup/SetConnections.py b/rdiff-backup/rdiff_backup/SetConnections.py index e5d081e..6846953 100644 --- a/rdiff-backup/rdiff_backup/SetConnections.py +++ b/rdiff-backup/rdiff_backup/SetConnections.py @@ -1,4 +1,4 @@ -# Copyright 2002 Ben Escoto +# Copyright 2002, 2003 Ben Escoto # # This file is part of rdiff-backup. # @@ -27,7 +27,7 @@ the related connections. import os from log import Log -import Globals, FilenameMapping, connection, rpath +import Globals, connection, rpath # This is the schema that determines how rdiff-backup will open a # pipe to the remote system. If the file is given as A::B, %s will @@ -178,7 +178,6 @@ def init_connection_settings(conn): conn.log.Log.setterm_verbosity(Log.term_verbosity) for setting_name in Globals.changed_settings: conn.Globals.set(setting_name, Globals.get(setting_name)) - FilenameMapping.set_init_quote_vals() def init_connection_remote(conn_number): """Run on server side to tell self that have given conn_number""" @@ -203,8 +202,6 @@ def BackupInitConnections(reading_conn, writing_conn): writing_conn.Globals.set("isbackup_writer", 1) UpdateGlobal("backup_reader", reading_conn) UpdateGlobal("backup_writer", writing_conn) - if writing_conn.os.getuid() == 0 and Globals.change_ownership != 0: - UpdateGlobal('change_ownership', 1) def CloseConnections(): """Close all connections. Run by client""" |