X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fpython%2Fyaffs_browser.py;h=626bc78fc6ab9df649b63058032d987bb537506f;hb=72762a62dab91fa7971e8d6ed2f00c5245ae464b;hp=37245ebf1874b89df6a51d4bb0b89cea0cc3dd10;hpb=d99e6f1914e0019b3e1a7d4d25d2beca56af5989;p=yaffs2.git diff --git a/direct/python/yaffs_browser.py b/direct/python/yaffs_browser.py index 37245eb..626bc78 100755 --- a/direct/python/yaffs_browser.py +++ b/direct/python/yaffs_browser.py @@ -70,7 +70,7 @@ class editor(): length_of_file=yaffs_lseek(self.yaffs_handle, 0, 2) ##seeks to the end of the file yaffs_lseek(self.yaffs_handle, 0, 0)## returns the handle to the front of th file print "length of file to be opened:", length_of_file - if isLink==True: + if isLink==True and False ==True : ##this alows the symlink to be edited and is no longer used. to renable it delete "and False ==True" print "opening symlink" self.file_contents=ctypes.create_string_buffer(1000) yaffs_readlink(self.file_path,self.file_contents,1000)