backups: Rename the backups API module

- Also other minor refactoring.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2018-10-03 19:18:43 -04:00
1 parent d48ab72cf0
commit 0ce97005b2
13 files changed
+22 -23

No files matched your search

+1 -1
View File
@@ -15,6 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from plinth.modules.backups.backups import validate as validate_backup
from plinth.modules.backups.api import validate as validate_backup
backup = validate_backup({'config': {'directories': ['/etc/ez-ipupdate/']}})