summaryrefslogtreecommitdiffstats
path: root/Lib/mimetools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/mimetools.py')
-rw-r--r--Lib/mimetools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py
index 79c6fb1..84eff9d 100644
--- a/Lib/mimetools.py
+++ b/Lib/mimetools.py
@@ -108,6 +108,6 @@ def choose_boundary():
pid = `os.getpid()`
seed = `rand.rand()`
_prefix = hostid + '.' + uid + '.' + pid
- timestamp = `time.time()`
+ timestamp = `int(time.time())`
seed = `rand.rand()`
return _prefix + '.' + timestamp + '.' + seed