Skip to content

Commit 25d3ceb

Browse files
author
James William Pye
committed
Couple dropped parts noticed by Vlad Pranskevichus.
1 parent a4dde43 commit 25d3ceb

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
@@ -467,7 +467,7 @@ def load(libref):
467467
for x in find_libsql(libref, pg_sys.libpath):
468468
break
469469
else:
470-
raise LoadError("library %r not in postgresql.sys.libpath")
470+
raise pg_exc.LoadError("library %r not in postgresql.sys.libpath" % (libref,))
471471
lib = ILF.open(x)
472472
except pg_exc.LoadError:
473473
raise

0 commit comments

Comments
 (0)