]> granicus.if.org Git - postgresql/commitdiff
Remove use of whrandom module, which was removed in Python 2.5.
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 16 Oct 2006 21:13:57 +0000 (21:13 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 16 Oct 2006 21:13:57 +0000 (21:13 +0000)
src/pl/plpython/expected/plpython_function.out
src/pl/plpython/sql/plpython_function.sql

index 0e46741a270ccfe40c587772e189d5636092049d..e1ffa7302dbd3f5abc7efd66800a8a1d6d2f34b9 100644 (file)
@@ -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"
index 0450501eb986c5ac30bb8095ba4bbf3178bb060f..224d5196a3c236782f695d6bc061c503516da511 100644 (file)
@@ -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"