blob: aecd5834a01e0223ab0485a3d4106af531bfc733 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- rdiff_backup/rpath.py.ORG 2002-12-17 20:32:23.000000000 +0100
+++ rdiff_backup/rpath.py 2002-12-17 20:33:34.000000000 +0100
@@ -209,7 +209,9 @@
"""
assert rpath.conn is Globals.local_connection
s = socket.socket(socket.AF_UNIX)
- s.bind(rpath.path)
+ try: s.bind(rpath.path)
+ except socket.error, exc:
+ raise SkipFileException("Socket error: " + str(exc))
def gzip_open_local_read(rpath):
"""Return open GzipFile. See security note directly above"""
@@ -838,6 +840,7 @@
from lazy import *
from selection import *
from destructive_stepping import *
+from highlevel import *
class RpathDeleter(ITRBranch):
"""Delete a directory. Called by RPath.delete()"""
|