Skip to content

Commit 3e584e0

Browse files
committed
Remove use of whrandom module, which was removed in Python 2.5.
1 parent 0b35b01 commit 3e584e0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/pl/plpython/expected/plpython_function.out

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ CREATE FUNCTION import_succeed() returns text
4949
import sha
5050
import string
5151
import time
52-
import whrandom
5352
except Exception, ex:
5453
plpy.notice("import failed -- %s" % str(ex))
5554
return "failed, that wasn''t supposed to happen"

src/pl/plpython/sql/plpython_function.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ CREATE FUNCTION import_succeed() returns text
5858
import sha
5959
import string
6060
import time
61-
import whrandom
6261
except Exception, ex:
6362
plpy.notice("import failed -- %s" % str(ex))
6463
return "failed, that wasn''t supposed to happen"

0 commit comments

Comments
 (0)