[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Put line breaks in between crypttab entries. (#491938)



---
 storage/__init__.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 9532f88..cfab174 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1111,10 +1111,10 @@ class CryptTab(object):
         crypttab = ""
         for name in self.mappings:
             entry = self[name]
-            crypttab += "%s UUID=%s %s %s" % (name,
-                                              entry['device'].format.uuid,
-                                              entry['keyfile'],
-                                              entry['options'])
+            crypttab += "%s UUID=%s %s %s\n" % (name,
+                                                entry['device'].format.uuid,
+                                                entry['keyfile'],
+                                                entry['options'])
         return crypttab                       
 
     def __getitem__(self, key):
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]