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

This commit is contained in:
Peter Eisentraut 2006-10-16 21:13:57 +00:00
parent 0b35b01e7a
commit 3e584e071b
2 changed files with 0 additions and 2 deletions

View File

@ -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"

View File

@ -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"