summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-26 16:21:52 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-26 16:21:52 (GMT)
commitf261223ccda9b9eeeb122e7f90960651d11d07da (patch)
tree3c54f3ef75130ef55a5796d63af8cab463852b1f /Lib
parente98d16e8a4821efc6e268dd1c96801aee95609fa (diff)
downloadcpython-f261223ccda9b9eeeb122e7f90960651d11d07da.zip
cpython-f261223ccda9b9eeeb122e7f90960651d11d07da.tar.gz
cpython-f261223ccda9b9eeeb122e7f90960651d11d07da.tar.bz2
os was already imported in the module, no need to re-import
Diffstat (limited to 'Lib')
-rw-r--r--Lib/mimetools.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py
index eb0ab71..d519539 100644
--- a/Lib/mimetools.py
+++ b/Lib/mimetools.py
@@ -112,7 +112,6 @@ def choose_boundary():
import random
if _prefix is None:
import socket
- import os
hostid = socket.gethostbyname(socket.gethostname())
try:
uid = `os.getuid()`