aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHAYASHI Kentaro <kenhys@gmail.com>2014-11-01 13:23:09 +0900
committerHAYASHI Kentaro <kenhys@gmail.com>2014-11-01 13:23:09 +0900
commit13205b6167991caa64ec038ccebd0969fcf0e310 (patch)
tree2333cf52e8fe91542d206b65aa81a49379fa8e8b
parent64bcb45fdccabc0352aaf786a20c3deec4dca8c7 (diff)
downloadporterbox-13205b6167991caa64ec038ccebd0969fcf0e310.zip
Find missing more 'porterbox'
It finds turfan.debian.net and merulo.debian.org additionally.
-rwxr-xr-xporterbox2
1 files changed, 1 insertions, 1 deletions
diff --git a/porterbox b/porterbox
index 01a628f..7f6a892 100755
--- a/porterbox
+++ b/porterbox
@@ -20,7 +20,7 @@ for machine_entry in machine_entries:
try:
purpose = machine_data[3].text.strip()
access = machine_data[5].text.strip()
- if purpose == 'porterbox':
+ if 'porterbox' in purpose:
hostname = machine_data[0].text.strip()
architecture = machine_data[1].text.strip()
if access == "":