X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fpython%2Fexamples.py;h=11e5b8b209c3cd006a569c2991ac511dc61e6dde;hp=6500653884570dde7b2795ecacb0d1f986ea441a;hb=3ac134099c4585aec7c1a166ccc389711b0dfaab;hpb=d7768d28faa5ffd97035349bda0c75a46686256c 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) +