Skip to content

Commit

Permalink
Incorporated review comments
Browse files Browse the repository at this point in the history
- changed API
- other fixes
  • Loading branch information
japokorn committed Apr 6, 2023
1 parent 16e18a6 commit 5976394
Show file tree
Hide file tree
Showing 7 changed files with 768 additions and 278 deletions.
5 changes: 4 additions & 1 deletion blivet/blivet.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
log = logging.getLogger("blivet")


FSTAB_PATH = "/etc/fstab"


@six.add_metaclass(SynchronizedMeta)
class Blivet(object):

Expand All @@ -74,7 +77,7 @@ def __init__(self):

# fstab write location purposedly set to None. It has to be overriden
# manually when using blivet.
self.fstab = FSTabManager(src_file="/etc/fstab", dest_file=None)
self.fstab = FSTabManager(src_file=FSTAB_PATH, dest_file=None)

self._short_product_name = 'blivet'

Expand Down
Loading

0 comments on commit 5976394

Please sign in to comment.