]> granicus.if.org Git - python/commitdiff
os was already imported in the module, no need to re-import
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 26 Mar 2002 16:21:52 +0000 (16:21 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 26 Mar 2002 16:21:52 +0000 (16:21 +0000)
Lib/mimetools.py

index eb0ab713109cf9bc4b0c3f081aec00ca5e636cbd..d51953908f876b37007a1a70e6136d0c5f0b519c 100644 (file)
@@ -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()`