mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Merge #2088: Update Zenmap to Python 3 and PyGObject
Note: Ndiff build will be broken until subsequent changes are made. Deprecation warnings will need to be addressed in future changes. Closes #2088
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# ***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||
# * *
|
||||
@@ -113,7 +112,7 @@ recent_scans = RecentScans()
|
||||
|
||||
if __name__ == "__main__":
|
||||
r = RecentScans()
|
||||
print ">>> Getting empty list:", r.get_recent_scans_list()
|
||||
print ">>> Adding recent scan bla:", r.add_recent_scan("bla")
|
||||
print ">>> Getting recent scan list:", r.get_recent_scans_list()
|
||||
print(">>> Getting empty list:", r.get_recent_scans_list())
|
||||
print(">>> Adding recent scan bla:", r.add_recent_scan("bla"))
|
||||
print(">>> Getting recent scan list:", r.get_recent_scans_list())
|
||||
del r
|
||||
|
||||
Reference in New Issue
Block a user