def dumptab_services(self): for s in services().get_services(): if s: print s.as_tab()
def dump_services(self): for s in services().get_services(): if s: print s.as_text() else: print "[W] Failed to get info about a service. Skipping."