[Swift-commit] r7450 - trunk/bin

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Mon Dec 23 16:44:37 CST 2013


Author: davidk
Date: 2013-12-23 16:44:36 -0600 (Mon, 23 Dec 2013)
New Revision: 7450

Modified:
   trunk/bin/swiftrun
Log:
Fix to get the right property names back


Modified: trunk/bin/swiftrun
===================================================================
--- trunk/bin/swiftrun	2013-12-23 19:03:04 UTC (rev 7449)
+++ trunk/bin/swiftrun	2013-12-23 22:44:36 UTC (rev 7450)
@@ -168,8 +168,8 @@
    
    else { 
       my ( $xmlnamespace, $xmlproperty ) = split(/\./, $site_aliases{ $propertyStart });
-      if ( defined($xmlnamespace) ) {
-         return "<profile namespace=\"" . $xmlnamespace . "\" key=\"" . $property . "\">" . $value . "</profile>\n"; 
+      if ( defined($xmlnamespace) && defined($xmlproperty)) {
+         return "<profile namespace=\"" . $xmlnamespace . "\" key=\"" . $xmlproperty . "\">" . $value . "</profile>\n"; 
       }
    }
 } 




More information about the Swift-commit mailing list