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 Mar 29, 2023
1 parent 16e18a6 commit 2956abe
Show file tree
Hide file tree
Showing 5 changed files with 629 additions and 277 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 2956abe

Please sign in to comment.