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

« back to all changes in this revision

Viewing changes to duplicity/robust.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:
53
53
def listpath(path):
54
54
    """Like path.listdir() but return [] if error, and sort results"""
55
55
    def error_handler(exc):
56
 
        log.Log("Error listing directory %s" % path.name, 2)
 
56
        log.Log(_("Error listing directory %s") % path.name, 2)
57
57
        return []
58
58
    dir_listing = check_common_error(error_handler, path.listdir)
59
59
    dir_listing.sort()