summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--obnamlib/plugins/verify_plugin.py29
-rw-r--r--test-gpghome/random_seedbin600 -> 600 bytes
2 files changed, 0 insertions, 29 deletions
diff --git a/obnamlib/plugins/verify_plugin.py b/obnamlib/plugins/verify_plugin.py
index 358c50f8..a07dbe3d 100644
--- a/obnamlib/plugins/verify_plugin.py
+++ b/obnamlib/plugins/verify_plugin.py
@@ -237,32 +237,3 @@ class VerifyPlugin(obnamlib.ObnamPlugin):
yield arg
else:
yield arg
-
- def construct_metadata_object(self, gen, filename):
- # FIXME: this is duplicate code.
- allowed = set(self.repo.get_allowed_file_keys())
- def K(key):
- if key in allowed:
- return self.repo.get_file_key(gen, filename, key)
- else:
- return None
-
- return obnamlib.Metadata(
- st_atime_sec=K(obnamlib.REPO_FILE_ATIME_SEC),
- st_atime_nsec=K(obnamlib.REPO_FILE_ATIME_NSEC),
- st_mtime_sec=K(obnamlib.REPO_FILE_MTIME_SEC),
- st_mtime_nsec=K(obnamlib.REPO_FILE_MTIME_NSEC),
- st_blocks=K(obnamlib.REPO_FILE_BLOCKS),
- st_dev=K(obnamlib.REPO_FILE_DEV),
- st_gid=K(obnamlib.REPO_FILE_GID),
- st_ino=K(obnamlib.REPO_FILE_INO),
- st_mode=K(obnamlib.REPO_FILE_MODE),
- st_nlink=K(obnamlib.REPO_FILE_NLINK),
- st_size=K(obnamlib.REPO_FILE_SIZE),
- st_uid=K(obnamlib.REPO_FILE_UID),
- username=K(obnamlib.REPO_FILE_USERNAME),
- groupname=K(obnamlib.REPO_FILE_GROUPNAME),
- target=K(obnamlib.REPO_FILE_SYMLINK_TARGET),
- xattr=K(obnamlib.REPO_FILE_XATTR_BLOB) or None,
- md5=K(obnamlib.REPO_FILE_MD5),
- )
diff --git a/test-gpghome/random_seed b/test-gpghome/random_seed
index 2807e460..b4fb175b 100644
--- a/test-gpghome/random_seed
+++ b/test-gpghome/random_seed
Binary files differ