~ed.so/duplicity/reuse-passphrase-for-signing-fix

« back to all changes in this revision

Viewing changes to duplicity/selection.py

  • Committer: loafman
  • Date: 2008-08-02 14:15:57 UTC
  • Revision ID: vcs-imports@canonical.com-20080802141557-2uh9q0dpxs3kh933
patch #6596: re-organize backend module structure
https://savannah.nongnu.org/patch/index.php?6596

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
"""
25
25
 
26
26
from __future__ import generators
 
27
 
 
28
import os
27
29
import re
28
 
from path import *
29
 
import robust, log, globals
30
 
import os, stat
31
 
 
 
30
import stat
 
31
 
 
32
from duplicity.path import *
 
33
 
 
34
import duplicity.log as log
 
35
import duplicity.globals as globals
32
36
 
33
37
class SelectError(Exception):
34
38
        """Some error dealing with the Select class"""
123
127
                        and should be included iff something inside is included.
124
128
 
125
129
                        """
 
130
                        # todo: get around circular dependency issue by importing here
 
131
                        import duplicity.robust as robust
126
132
                        for filename in robust.listpath(path):
127
133
                                new_path = robust.check_common_error(
128
134
                                        error_handler, Path.append, (path, filename))
545
551
                        else: res = res + re.escape(c)
546
552
                return res
547
553
 
548