Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-04-07 12:09:11 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-07 12:09:11 -0400
commit2d797e781957ff6edce89adea5980a9429b92e00 (patch)
treed0764a636d35ad2dcfd09715aebcf2d39aee2946 /archinstall/lib
parent99917807bd926185a8feb38185f0e4b09b3e0738 (diff)
Remove ,newline='\n' so this branch works for testing
This change is already merged but add to this branch for testing
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index c99d0017..657a1f8d 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -153,7 +153,7 @@ class Installer():
self.log(f"Updating {self.mountpoint}/etc/fstab", level=LOG_LEVELS.Info)
fstab = sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint}').trace_log
- with open(f"{self.mountpoint}/etc/fstab", 'ab',newline='\n') as fstab_fh:
+ with open(f"{self.mountpoint}/etc/fstab", 'ab') as fstab_fh:
fstab_fh.write(fstab)
if not os.path.isfile(f'{self.mountpoint}/etc/fstab'):