X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fpython%2Fexamples.py;h=11e5b8b209c3cd006a569c2991ac511dc61e6dde;hb=83bae7928558997b6e7e81cee00da75f9c9791fa;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) +