From d33e60c74a8381e79bfcfc4d2a04b065b2ab7469 Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa
Date: Tue, 10 Feb 2015 14:38:03 +0530
Subject: [PATCH] upgrades: Minor styling fixes
- Remove emacs mode line as emacs automatically detect Python files
based on the #! line.
- End comments with a '.'.
- Use single quotes instead of double quotes for string for consistensy.
- Update message to say that it take more than a minute to finish
upgrades. Some times it takes a lot more than that.
---
actions/upgrades | 1 -
plinth/modules/upgrades/templates/upgrades.html | 2 +-
plinth/modules/upgrades/upgrades.py | 17 ++++++++---------
3 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/actions/upgrades b/actions/upgrades
index 1e5c42d5f..8cd035ca8 100755
--- a/actions/upgrades
+++ b/actions/upgrades
@@ -1,5 +1,4 @@
#!/usr/bin/python3
-# -*- mode: python -*-
#
# This file is part of Plinth.
#
diff --git a/plinth/modules/upgrades/templates/upgrades.html b/plinth/modules/upgrades/templates/upgrades.html
index 45f904c46..9e05c9006 100644
--- a/plinth/modules/upgrades/templates/upgrades.html
+++ b/plinth/modules/upgrades/templates/upgrades.html
@@ -23,7 +23,7 @@
{{ title }}
This will run unattended-upgrades, which will attempt to upgrade your system
-with the latest Debian packages. It may take a minute to complete.
+with the latest Debian packages. It may take a few minutes to complete.