Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/n/e/network-scanner-HEAD/umit/gui/ProfileManager.py   network-scanner(Download)
from umit.core.NmapCommand import CommandConstructor
 
from ProfileEditor import ProfileEditor
from umit.core.UmitConf import CommandProfile
from umit.core.I18N import _
            # Edit profile selected    
            if self.get_selected_profile() is not None:
                pe = ProfileEditor(self.get_selected_profile())
                pe.set_notebook(self.__scan_notebook)
                pe.set_profilemanager(self.model)
                pe.show_all()
        else:
            # New Profile
            pe = ProfileEditor()