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

« back to all changes in this revision

Viewing changes to duplicity/patchdir.py

  • Committer: loafman
  • Date: 2008-12-22 17:22:44 UTC
  • Revision ID: vcs-imports@canonical.com-20081222172244-cjurdc0mt5d41n6d
patch #6700: Make duplicity translatable
https://savannah.nongnu.org/patch/?6700

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    ITR = IterTreeReducer(PathPatcher, [base_path])
58
58
    for basis_path, diff_ropath in collated:
59
59
        if basis_path:
60
 
            log.Info("Patching %s" % (basis_path.get_relative_path(),),
 
60
            log.Info(_("Patching %s") % (basis_path.get_relative_path(),),
61
61
                     log.InfoCode.patch_file_patching,
62
62
                     util.escape(basis_path.get_relative_path()))
63
63
            ITR(basis_path.index, basis_path, diff_ropath)
64
64
        else:
65
 
            log.Info("Patching %s" % (diff_ropath.get_relative_path(),),
 
65
            log.Info(_("Patching %s") % (diff_ropath.get_relative_path(),),
66
66
                     log.InfoCode.patch_file_patching,
67
67
                     util.escape(diff_ropath.get_relative_path()))
68
68
            ITR(diff_ropath.index, basis_path, diff_ropath)
501
501
 
502
502
    def can_fast_process(self, index, ropath):
503
503
        """Can fast process (no recursion) if ropath isn't a directory"""
504
 
        log.Info("Writing %s of type %s" %
 
504
        log.Info(_("Writing %s of type %s") %
505
505
                 (ropath.get_relative_path(), ropath.type),
506
506
                 log.InfoCode.patch_file_writing,
507
507
                 "%s %s" % (util.escape(ropath.get_relative_path()), ropath.type))