summaryrefslogtreecommitdiff
path: root/Lib/mimetools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/mimetools.py')
-rw-r--r--Lib/mimetools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py
index eed24ca0af..fc72c79ed3 100644
--- a/Lib/mimetools.py
+++ b/Lib/mimetools.py
@@ -109,7 +109,7 @@ _prefix = None
def choose_boundary():
global _prefix
import time
- import whrandom
+ import random
if _prefix == None:
import socket
import os
@@ -124,7 +124,7 @@ def choose_boundary():
pid = '1'
_prefix = hostid + '.' + uid + '.' + pid
timestamp = '%.3f' % time.time()
- seed = `whrandom.randint(0, 32767)`
+ seed = `random.randint(0, 32767)`
return _prefix + '.' + timestamp + '.' + seed