From 798e7750381ee81a8d063970dfa9506dcdcc3089 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 26 Aug 2019 13:46:49 -0700 Subject: [PATCH] storage: Fix regression with restoring backups with storage Regression was introduced in a2d07fef0b9e2ae54f98fb5209b9cb0c5fd6f456 when backup data import from manifest was inadvertently removed. Closes: #1636. Test: Create a backup with this patch and 'storage' as one of the selected apps for backup. Try to restore the backup without the patch. Observe that it fails. Restore the backup with the patch. Observe that it succeeds. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/storage/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plinth/modules/storage/__init__.py b/plinth/modules/storage/__init__.py index d488e8c4e..311d271dc 100644 --- a/plinth/modules/storage/__init__.py +++ b/plinth/modules/storage/__init__.py @@ -30,6 +30,8 @@ from plinth.daemon import Daemon from plinth.errors import PlinthError from plinth.utils import format_lazy, import_from_gi +from .manifest import backup # noqa, pylint: disable=unused-import + version = 3 name = _('Storage')