~ubuntu-branches/ubuntu/natty/duplicity/natty-proposed

« back to all changes in this revision

Viewing changes to src/globals.py

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Zangerl
  • Date: 2007-09-25 12:14:26 UTC
  • mfrom: (1.1.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20070925121426-55di879y8c9ka75h
Tags: 0.4.3-3
reworked the "no passphrase" patch to properly cover 
symmetric encryption, where a passphrase is always needed 
(closes: #443803)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#
5
5
# Duplicity is free software; you can redistribute it and/or modify it
6
6
# under the terms of the GNU General Public License as published by the
7
 
# Free Software Foundation; either version 2 of the License, or (at your
 
7
# Free Software Foundation; either version 3 of the License, or (at your
8
8
# option) any later version.
9
9
#
10
10
# Duplicity is distributed in the hope that it will be useful, but
18
18
 
19
19
"""Store global configuration information"""
20
20
 
21
 
import socket
 
21
import socket, sys
22
22
 
23
23
# The current version of duplicity
24
 
version = "0.4.2"
 
24
version = "0.4.3"
25
25
 
26
26
# The name of the current host, or None if it cannot be set
27
27
hostname = socket.getfqdn()
58
58
# nulls instead of newlines.
59
59
null_separator = None
60
60
 
 
61
# number of retries on network operations
 
62
num_retries = 5
 
63
 
61
64
# Character used like the ":" in time strings like
62
65
# 2002-08-06T04:22:00-07:00.  The colon isn't good for filenames on
63
66
# windows machines.
87
90
 
88
91
# If set to false, then do not encrypt files on remote system
89
92
encryption = 1
 
93
 
 
94
# volume size. default 5M
 
95
volsize = 5*1024*1024
 
96
 
 
97
# network timeout value
 
98
timeout = 30
 
99
 
 
100
# FTP data connection type
 
101
ftp_connection = 'passive'