Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for unicode

  • Loading branch information...
commit ae103252984ba02397d9f10b813c711b566edb73 1 parent db0d656
@pizzapanther authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  neutron/ide/grep.py
View
1  neutron/ide/grep.py
@@ -15,6 +15,7 @@ def replace (self, rstr, rlines):
while 1:
line = fh.readline()
if line:
+ line = unicode(line, errors='ignore')
if (linenum in rlines):
newlines += self.needle.sub(rstr, line)
Please sign in to comment.
Something went wrong with that request. Please try again.