diff options
Diffstat (limited to 'python/database.py')
| -rw-r--r-- | python/database.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/database.py b/python/database.py index ded5a49b..df1b5b09 100644 --- a/python/database.py +++ b/python/database.py @@ -289,8 +289,8 @@ class Database: Trim a snapshot's contents in the database by id, but leave the parent/child hierarchy intact. Future references to this snapshot will return False for has_contents """ - if not core.BNRemoveDatabaseSnapshot(self.handle, id): - raise RuntimeError("BNRemoveDatabaseSnapshot returned False") + if not core.BNTrimDatabaseSnapshot(self.handle, id): + raise RuntimeError("BNTrimDatabaseSnapshot returned False") def remove_snapshot(self, id: int): """ |
