Remove use of whrandom module, which was removed in Python 2.5.
This commit is contained in:
parent
0b35b01e7a
commit
3e584e071b
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user