Commit 3e584e07 authored by Peter Eisentraut's avatar Peter Eisentraut

Remove use of whrandom module, which was removed in Python 2.5.

parent 0b35b01e
...@@ -49,7 +49,6 @@ CREATE FUNCTION import_succeed() returns text ...@@ -49,7 +49,6 @@ CREATE FUNCTION import_succeed() returns text
import sha import sha
import string import string
import time import time
import whrandom
except Exception, ex: except Exception, ex:
plpy.notice("import failed -- %s" % str(ex)) plpy.notice("import failed -- %s" % str(ex))
return "failed, that wasn''t supposed to happen" return "failed, that wasn''t supposed to happen"
......
...@@ -58,7 +58,6 @@ CREATE FUNCTION import_succeed() returns text ...@@ -58,7 +58,6 @@ CREATE FUNCTION import_succeed() returns text
import sha import sha
import string import string
import time import time
import whrandom
except Exception, ex: except Exception, ex:
plpy.notice("import failed -- %s" % str(ex)) plpy.notice("import failed -- %s" % str(ex))
return "failed, that wasn''t supposed to happen" return "failed, that wasn''t supposed to happen"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment