~duplicity-team/duplicity/0.8-series

« back to all changes in this revision

Viewing changes to duplicity/dup_threading.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>
186
186
    # not care about hash lookup overhead since this is intended to be
187
187
    # used for significant amounts of work.
188
188
 
189
 
    cv = threading.Condition()  # @UndefinedVariable
 
189
    cv = threading.Condition()
190
190
    state = {u'done': False,
191
191
             u'error': None,
192
192
             u'trace': None,
259
259
        """
260
260
        self.__value = value
261
261
 
262
 
        self.__cv = threading.Condition()  # @UndefinedVariable
 
262
        self.__cv = threading.Condition()
263
263
 
264
264
    def get(self):
265
265
        u"""