~duplicity-team/duplicity/0.8-series

« back to all changes in this revision

Viewing changes to duplicity/backends/s3_boto_backend.py

* Merged in lp:~kenneth-loafman/duplicity/duplicity-pylint
  - Enable additional pylint warnings. Make 1st pass at correction.
      unused-argument,
      unused-wildcard-import,
      redefined-builtin,
      bad-indentation,
      mixed-indentation,
     unreachable
  - Renamed globals to config to fix conflict with __builtin__.glogals()
  - Resolved conflict between duplicity.config and testing.manual.config
  - Normalized emacs mode line to have encoding:utf8 on all *.py files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
 
1
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4; encoding:utf8 -*-
2
2
#
3
3
# Copyright 2002 Ben Escoto <ben@emerose.org>
4
4
# Copyright 2007 Kenneth Loafman <kenneth@loafman.com>
21
21
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
22
 
23
23
import duplicity.backend
24
 
from duplicity import globals
 
24
from duplicity import config
25
25
 
26
 
if globals.s3_use_multiprocessing:
 
26
if config.s3_use_multiprocessing:
27
27
    from ._boto_multi import BotoBackend
28
28
else:
29
29
    from ._boto_single import BotoBackend