mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-19 12:09:48 +08:00
expanduser on snapshots path
This commit is contained in:
@@ -2667,6 +2667,7 @@ def load_expected_snapshots( snapshots_path ):
|
||||
Return None on error
|
||||
"""
|
||||
# use snapshots?
|
||||
snapshots_path = os.path.expanduser(snapshots_path)
|
||||
expected_snapshots = {}
|
||||
try:
|
||||
with open(snapshots_path, "r") as f:
|
||||
|
||||
Reference in New Issue
Block a user