Skip to content

Commit 464f7e3

Browse files
author
James William Pye
committed
Couple dropped parts noticed by Vlad Pranskevichus.
1 parent 32b99d3 commit 464f7e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

postgresql/lib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def load(libref):
431431
for x in find_libsql(libref, pg_sys.libpath):
432432
break
433433
else:
434-
raise LoadError("library %r not in postgresql.sys.libpath")
434+
raise pg_exc.LoadError("library %r not in postgresql.sys.libpath" % (libref,))
435435
lib = ILF.open(x)
436436
except pg_exc.LoadError:
437437
raise

0 commit comments

Comments
 (0)