diff options
| author | Jon Bernard <jbernard@tuxion.com> | 2014-06-13 14:32:06 -0400 |
|---|---|---|
| committer | Jon Bernard <jbernard@tuxion.com> | 2014-06-13 14:32:06 -0400 |
| commit | d8f7745bd96dd6b23e77d531e68242344fb43bfb (patch) | |
| tree | df4f78ac090acee4d4c46a51fef82daca97e3edb | |
| parent | 4478ada6500b88d4c0b512998dba4a018aa04298 (diff) | |
| download | porterbox-d8f7745bd96dd6b23e77d531e68242344fb43bfb.zip | |
Display a column header before listing machines
| -rwxr-xr-x | porterbox | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ soup = bs4.BeautifulSoup(response.text) machine_entries = soup.find_all('tr') +print('%-18s %-24s %s' % ("Architecture", "Hostname", "Access")) +print('-' * 68) + for machine_entry in machine_entries: machine_data = machine_entry.find_all('td') try: |