mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
Remove use of whrandom module, which was removed in Python 2.5.
This commit is contained in:
@@ -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
|
|||||||
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"
|
||||||
|
Reference in New Issue
Block a user