# Path: duplicity/globals.py

# 
# Path: duplicity/gpg.py
# class GPGError(Exception):
#     """
#     Indicate some GPG Error
#     """
#     pass


import types
import gettext
from duplicity import log
from duplicity import file_naming
from duplicity import path
from duplicity import dup_time
from duplicity import globals
from duplicity import manifest
from duplicity.gpg import GPGError
            assert not self.volume_name_dict.has_key(pr.volume_number), \
                   (self.volume_name_dict, filename)
            self.volume_name_dict[pr.volume_number] = filename
        return True

    def set_info(self, pr):
        """
        Set BackupSet information from ParseResults object

        @param pr: parse results
        @type pf: ParseResults
        """
        assert not self.info_set
        self.type = pr.type
        self.time = pr.time
        self.start_time = pr.start_time
        self.end_time = pr.end_time
        self.time = pr.time
        self.partial = pr.partial
        self.encrypted = bool(pr.encrypted)
        self.info_set = True

    def set_manifest(self, remote_filename):
        """
        Add local and remote manifest filenames to backup set
        """
        assert not self.remote_manifest_name, (self.remote_manifest_name,
                                               remote_filename)
        self.remote_manifest_name = remote_filename


# Path: duplicity/globals.py

# 
# Path: duplicity/gpg.py
# class GPGError(Exception):
#     """
#     Indicate some GPG Error
#     """
#     pass


# Path: duplicity/collections.py
import types
import gettext
from duplicity import log
from duplicity import file_naming
from duplicity import path
from duplicity import dup_time
from duplicity import globals
from duplicity import manifest
from duplicity.gpg import GPGError

            assert not self.volume_name_dict.has_key(pr.volume_number), \
                   (self.volume_name_dict, filename)
            self.volume_name_dict[pr.volume_number] = filename
        return True

    def set_info(self, pr):
        """
        Set BackupSet information from ParseResults object

        @param pr: parse results
        @type pf: ParseResults
        """
        assert not self.info_set
        self.type = pr.type
        self.time = pr.time
        self.start_time = pr.start_time
        self.end_time = pr.end_time
        self.time = pr.time
        self.partial = pr.partial
        self.encrypted = bool(pr.encrypted)
        self.info_set = True

    def set_manifest(self, remote_filename):
        """
        Add local and remote manifest filenames to backup set
        """
        assert not self.remote_manifest_name, (self.remote_manifest_name,
                                               remote_filename)
        self.remote_manifest_name = remote_filename


        for local_filename in globals.archive_dir.listdir():