summaryrefslogtreecommitdiffstats
path: root/python/examples/create_disk.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/create_disk.py')
-rw-r--r--python/examples/create_disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/create_disk.py b/python/examples/create_disk.py
index 9d4e8d9b..c80fc6d9 100644
--- a/python/examples/create_disk.py
+++ b/python/examples/create_disk.py
@@ -58,4 +58,4 @@ g.upload ("/etc/resolv.conf", "/foo/resolv.conf")
# Because 'autosync' was set (above) we can just close the handle
# and the disk contents will be synchronized. You can also do
# this manually by calling g.umount_all and g.sync.
-del g
+g.close ()