| Home | Trees | Indices | Help |
|
|---|
|
|
1 # -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- 2 # 3 # Copyright 2002 Ben Escoto <ben@emerose.org> 4 # Copyright 2007 Kenneth Loafman <kenneth@loafman.com> 5 # Copyright 2011 Henrique Carvalho Alves <hcarvalhoalves@gmail.com> 6 # 7 # This file is part of duplicity. 8 # 9 # Duplicity is free software; you can redistribute it and/or modify it 10 # under the terms of the GNU General Public License as published by the 11 # Free Software Foundation; either version 2 of the License, or (at your 12 # option) any later version. 13 # 14 # Duplicity is distributed in the hope that it will be useful, but 15 # WITHOUT ANY WARRANTY; without even the implied warranty of 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 # General Public License for more details. 18 # 19 # You should have received a copy of the GNU General Public License 20 # along with duplicity; if not, write to the Free Software Foundation, 21 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 23 from duplicity import globals 24 25 if globals.s3_use_multiprocessing: 26 if sys.version_info[:2] < (2,6): 27 print "Sorry, S3 multiprocessing requires version 2.6 or later of python" 28 sys.exit(1) 29 import _boto_multi.py 30 else: 31 import _boto_single.py 32
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 25 13:38:22 2011 | http://epydoc.sourceforge.net |