[Swift-commit] r7296 - trunk/bin
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Mon Nov 18 14:08:07 CST 2013
Author: davidk
Date: 2013-11-18 14:08:07 -0600 (Mon, 18 Nov 2013)
New Revision: 7296
Modified:
trunk/bin/swiftrun
Log:
When using -listconfig, sort hash by key to make things more readable
Modified: trunk/bin/swiftrun
===================================================================
--- trunk/bin/swiftrun 2013-11-18 19:36:12 UTC (rev 7295)
+++ trunk/bin/swiftrun 2013-11-18 20:08:07 UTC (rev 7296)
@@ -229,8 +229,8 @@
print "Reading from: $site\n";
}
print "\nValues:\n";
- while ( my ($key, $value) = each(%properties) ) {
- print "\t$key=$value\n";
+ foreach my $key (sort keys %properties) {
+ print "\t$key=$properties{$key}\n";
}
exit;
}
More information about the Swift-commit
mailing list