[PATCH] Fix a typo in an error message

Eugene Syromiatnikov <[email protected]> Fri, 24 Feb 2017 21:36:46 +0100
Newsgroups gmane.linux.redhat.anaconda.devel
Message-ID <[email protected]>
"DD repository needs to be a file file or a directory: %s" contains
double "file".

* dracut/driver_updates.py (save_repo): Fix word doubling typo in
message.
---
 dracut/driver_updates.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dracut/driver_updates.py b/dracut/driver_updates.py
index c5f2cec..3c0b714 100755
--- a/dracut/driver_updates.py
+++ b/dracut/driver_updates.py
@@ -280,7 +280,8 @@ def save_repo(repo, target="/run/install"):
             else:
                 log.warning("DD repo content not a file: %s", item_path)
     else:
-        log.error("ERROR: DD repository needs to be a file file or a directory: %s", repo)
+        log.error("ERROR: DD repository needs to be a file or a directory: %s",
+                  repo)
     return newdir
 
 def extract_drivers(drivers=None, repos=None, outdir="/updates",
-- 
2.1.4