summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Security.py
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-07-19 05:55:00 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-07-19 05:55:00 +0000
commit71efe489bc3f5cfdde8a227eb6735294e6479f87 (patch)
tree6e1196498b0beb8792d9857f589164940d780ff9 /rdiff-backup/rdiff_backup/Security.py
parentbfd3ffac7c5c88585c543322f5c8c091bcf396ae (diff)
downloadrdiff-backup-71efe489bc3f5cfdde8a227eb6735294e6479f87.tar.gz
compilec compiles librsync also, --print-statistics compatible with
Security.py now. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@164 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Security.py')
-rw-r--r--rdiff-backup/rdiff_backup/Security.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py
index e4630d7..49857ab 100644
--- a/rdiff-backup/rdiff_backup/Security.py
+++ b/rdiff-backup/rdiff_backup/Security.py
@@ -101,7 +101,8 @@ def set_allowed_requests(sec_level):
"Log.open_logfile_allconn",
"Log.close_logfile_allconn",
"SetConnections.add_redirected_conn",
- "RedirectedRun"]
+ "RedirectedRun",
+ "sys.stdout.write"]
if sec_level == "minimal": pass
elif sec_level == "read-only" or sec_level == "update-only":
allowed_requests.extend(["C.make_file_dict",