Skip to content

Commit

Permalink
Export NmapProcess only.
Browse files Browse the repository at this point in the history
This patch will only add the class `NmapProcess` to `globals()` when `from libnmap import *` is used.
  • Loading branch information
allfro committed Apr 22, 2014
1 parent e47a442 commit d90c1db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libnmap/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
except ImportError:
from queue import Queue, Empty, Full

__all__ = [
'NmapProcess'
]


class NmapProcess(Thread):
"""
Expand Down

0 comments on commit d90c1db

Please sign in to comment.