Skip to content

Commit abf33d3

Browse files
author
jomae
committed
1.6.1dev: fix libpq version detection in postgres_backend.py (closes #13803)
Patch by BtbN. git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/1.6-stable@17861 af82e41b-90c4-0310-8c96-b1721e28e2e2
1 parent 2134384 commit abf33d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trac/db/postgres_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
'''.encode('utf-8'),
6363
_f.read(), re.VERBOSE)
6464
if _match:
65-
_libpq_pathname = _match.group(1)
65+
_libpq_pathname = _match.group(1).decode('utf-8')
6666
else:
6767
if re.search(r'\0libpq\.dll\0'.encode('utf-8'), _f.read(),
6868
re.IGNORECASE):

0 commit comments

Comments
 (0)