diff options
author | Peter Eisentraut | 2006-10-16 21:13:57 +0000 |
---|---|---|
committer | Peter Eisentraut | 2006-10-16 21:13:57 +0000 |
commit | 3e584e071b1c2684141ae3a347889c2108617790 (patch) | |
tree | fa5e8e158d6cd83041baf78e15ec80e47747e34d | |
parent | 0b35b01e7ab0bae4eca85d434f884259e3187bcd (diff) |
Remove use of whrandom module, which was removed in Python 2.5.
-rw-r--r-- | src/pl/plpython/expected/plpython_function.out | 1 | ||||
-rw-r--r-- | src/pl/plpython/sql/plpython_function.sql | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/pl/plpython/expected/plpython_function.out b/src/pl/plpython/expected/plpython_function.out index 0e46741a270..e1ffa7302db 100644 --- a/src/pl/plpython/expected/plpython_function.out +++ b/src/pl/plpython/expected/plpython_function.out @@ -49,7 +49,6 @@ CREATE FUNCTION import_succeed() returns text import sha import string import time - import whrandom except Exception, ex: plpy.notice("import failed -- %s" % str(ex)) return "failed, that wasn''t supposed to happen" diff --git a/src/pl/plpython/sql/plpython_function.sql b/src/pl/plpython/sql/plpython_function.sql index 0450501eb98..224d5196a3c 100644 --- a/src/pl/plpython/sql/plpython_function.sql +++ b/src/pl/plpython/sql/plpython_function.sql @@ -58,7 +58,6 @@ CREATE FUNCTION import_succeed() returns text import sha import string import time - import whrandom except Exception, ex: plpy.notice("import failed -- %s" % str(ex)) return "failed, that wasn''t supposed to happen" |