diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-03-18 17:14:52 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-03-18 17:59:35 +0000 |
commit | 9b5e7c2efe1abb2cc981df085a849afd5a27d355 (patch) | |
tree | fd1e6c8b4282fd721a548d5c58be112083a38b79 /morphlib/stagingarea.py | |
parent | d7e9e092aee7d607be48dc99b0fe2275575df4fb (diff) | |
download | morph-9b5e7c2efe1abb2cc981df085a849afd5a27d355.tar.gz |
Use morphlib.fsutils.mount when possible
Diffstat (limited to 'morphlib/stagingarea.py')
-rw-r--r-- | morphlib/stagingarea.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/stagingarea.py b/morphlib/stagingarea.py index dca19c23..61f9e660 100644 --- a/morphlib/stagingarea.py +++ b/morphlib/stagingarea.py @@ -236,7 +236,7 @@ class StagingArea(object): path = os.path.join(self.dirname, mount_point) if not os.path.exists(path): os.makedirs(path) - self._app.runcmd(['mount', '-t', mount_type, source, path]) + morphlib.fsutils.mount(self._app.runcmd, source, path, mount_type) self.mounted.append(path) return |