mirror of
https://github.com/nmap/nmap.git
synced 2025-12-13 03:09:02 +00:00
Avoid importing *, possibly polluting namespace
This commit is contained in:
@@ -6,7 +6,7 @@ import os
|
|||||||
import os.path
|
import os.path
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from stat import *
|
from stat import ST_MODE
|
||||||
|
|
||||||
import distutils.command
|
import distutils.command
|
||||||
import distutils.command.install
|
import distutils.command.install
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ from distutils.core import setup, Command
|
|||||||
from distutils.command.install import install
|
from distutils.command.install import install
|
||||||
|
|
||||||
from glob import glob
|
from glob import glob
|
||||||
from stat import *
|
from stat import S_IRGRP, S_IROTH, S_IRUSR, S_IRWXU, S_IWUSR, S_IXGRP, S_IXOTH, ST_MODE
|
||||||
|
|
||||||
from zenmapCore.Version import VERSION
|
from zenmapCore.Version import VERSION
|
||||||
from zenmapCore.Name import APP_NAME, APP_DISPLAY_NAME, APP_WEB_SITE,\
|
from zenmapCore.Name import APP_NAME, APP_DISPLAY_NAME, APP_WEB_SITE,\
|
||||||
|
|||||||
Reference in New Issue
Block a user