Skip to content

Commit

Permalink
Quick fix for the syntax errors that snuck in last time.
Browse files Browse the repository at this point in the history
BUG=
R=gcastle@google.com

Review URL: https://codereview.appspot.com/256150043.
  • Loading branch information
the80srobot committed Jul 24, 2015
1 parent 24cdd0a commit 0f158af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rekall/addrspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def _write_chunk(self, vaddr, buf):
if not paddr:
return 0

return self.base.write(paddr, buf[:to_write]):
return self.base.write(paddr, buf[:to_write])

def do_write(self, addr, buf):
available = len(buf)
Expand Down
2 changes: 1 addition & 1 deletion rekall/plugins/addrspaces/pmem.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def _write_chunk(self, addr, buf):

self.fd.seek(offset)

if self.fd.write(buf[:length])
if self.fd.write(buf[:length]):
return length

return 0
Expand Down

0 comments on commit 0f158af

Please sign in to comment.