Skip to content

Commit

Permalink
python 3 fixes, install doc clarification
Browse files Browse the repository at this point in the history
git-svn-id: file:///bss/svn/public/grokevt@120 15c2d14c-5af0-0310-93da-fd3504e6cab1
  • Loading branch information
tim committed Jun 20, 2011
1 parent 229451e commit 93530c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion trunk/INSTALL
Expand Up @@ -6,7 +6,7 @@ set up on your system:
- GNU Make

In order to use this software you also need:
- RegLookup
- RegLookup (version 1.0.0 or later)

Earlier versions of Python may work, but they have not yet been tested.

Expand Down
4 changes: 2 additions & 2 deletions trunk/bin/grokevt-findlogs
Expand Up @@ -35,7 +35,7 @@ class fileSearcher:
sz = -1

def __init__(self, file_name, strings):
self.f = file(BIN_FILE, 'r')
self.f = open(BIN_FILE, 'rb')

self.largest = max([len(s) for s in strings])
self.bs = max(self.largest,self.bs)
Expand Down Expand Up @@ -134,7 +134,7 @@ else:


if not os.access(BIN_FILE, os.R_OK):
sys.stderr.write("ERROR: DB file could not be read.")
sys.stderr.write("ERROR: Input file could not be read.\n")
sys.exit(os.EX_OSFILE)


Expand Down

0 comments on commit 93530c4

Please sign in to comment.