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/connection.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/connection.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/connection.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/connection.py b/rdiff-backup/rdiff_backup/connection.py index 05aef20..06d7e7a 100644 --- a/rdiff-backup/rdiff_backup/connection.py +++ b/rdiff-backup/rdiff_backup/connection.py @@ -22,6 +22,11 @@ from __future__ import generators import types, os, tempfile, cPickle, shutil, traceback, pickle, \ socket, sys, gzip +# The following EA and ACL modules may be used if available +try: import xattr +except ImportError: pass +try: import posix1e +except ImportError: pass class ConnectionError(Exception): pass @@ -513,7 +518,7 @@ class VirtualFile: import Globals, Time, Rdiff, Hardlink, FilenameMapping, C, Security, \ Main, rorpiter, selection, increment, statistics, manage, lazy, \ iterfile, rpath, robust, restore, manage, backup, connection, \ - TempFile, SetConnections, librsync, log, regress + TempFile, SetConnections, librsync, log, regress, fs_abilities Globals.local_connection = LocalConnection() Globals.connections.append(Globals.local_connection) |