summaryrefslogtreecommitdiff
path: root/installer/installer.py
diff options
context:
space:
mode:
Diffstat (limited to 'installer/installer.py')
-rwxr-xr-xinstaller/installer.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/installer/installer.py b/installer/installer.py
index 7e1033b8..df9d338d 100755
--- a/installer/installer.py
+++ b/installer/installer.py
@@ -107,11 +107,8 @@ class BaserockInstaller():
mounted.append(mount_point)
return mounted
- def mount(self, partition, mount_point, fstype=None):
- if not fstype:
- fstype = ''
- else:
- fstype = '-t %s' % fstype
+ def mount(self, partition, mount_point, fstype):
+ fstype = '-t %s' % fstype
mount_command = "mount %s %s %s" % (partition, mount_point, fstype)
child = subprocess.Popen(mount_command, shell=True)
child.communicate()[0]