From: Neal Norwitz Date: Tue, 26 Mar 2002 16:21:52 +0000 (+0000) Subject: os was already imported in the module, no need to re-import X-Git-Tag: v2.3c1~6324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f261223ccda9b9eeeb122e7f90960651d11d07da;p=python os was already imported in the module, no need to re-import --- diff --git a/Lib/mimetools.py b/Lib/mimetools.py index eb0ab71310..d51953908f 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()`