X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fpython%2Fexamples.py;h=11e5b8b209c3cd006a569c2991ac511dc61e6dde;hb=f37d0b9ff0c87c1e22a5f708dbb4b455da7af59f;hp=6500653884570dde7b2795ecacb0d1f986ea441a;hpb=77179ba56322261acd43fd0543b88dc455df7cda;p=yaffs2.git diff --git a/direct/python/examples.py b/direct/python/examples.py index 6500653..11e5b8b 100644 --- a/direct/python/examples.py +++ b/direct/python/examples.py @@ -66,6 +66,8 @@ yaffs_mount(root) yaffs_mkdir(root+"/dd",0666) -yaffs_open(root+"/dd/111",66,0666) +h = yaffs_open(root+"/dd/111",66,0666) +yaffs_close(h) yaffs_ls(root) +