FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 342a8484 authored by Silas S. Brown's avatar Silas S. Brown
Browse files

Gradint update

git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/gradint@1461 29193198-4895-4776-b068-10539e920549
parent 7d3c72df
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,7 @@ if paranoid_file_management:
os.remove(fn)
tryIO(lambda x=fn,y=data:_old_open(x,"wb").write(data))
if not filelen(fn)==len(data): raise IOError("wrong length")
if not read(fn)==data: raise IOError("verification failure")
if not read(fn)==data: raise IOError("verification failure on "+repr(fn))
def write(fn,data): return tryIO(lambda x=fn,y=data:_write(x,data))
def open(file,mode="r",forAppend=0):
if "a" in mode:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment