[28931] users/rhwood/Pallet/PortAuthority.m

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 12 02:14:19 PDT 2007


Revision: 28931
          http://trac.macosforge.org/projects/macports/changeset/28931
Author:   rhwood at macports.org
Date:     2007-09-12 02:14:19 -0700 (Wed, 12 Sep 2007)

Log Message:
-----------
Use [[macPorts sources] objectEnumerator] instead of [macPorts sources] itself to enumerate through the sources.

Modified Paths:
--------------
    users/rhwood/Pallet/PortAuthority.m

Modified: users/rhwood/Pallet/PortAuthority.m
===================================================================
--- users/rhwood/Pallet/PortAuthority.m	2007-09-12 09:02:06 UTC (rev 28930)
+++ users/rhwood/Pallet/PortAuthority.m	2007-09-12 09:14:19 UTC (rev 28931)
@@ -225,7 +225,7 @@
 	if (portIndex = nil) {
 		portIndex = [[NSMutableArray alloc] init];
 	}
-	indexEnumerator = [macPorts sources];
+	indexEnumerator = [[macPorts sources] objectEnumerator];
 	while (index = [indexEnumerator nextObject]) {
 		[progressIndicator startAnimation:nil];
 		[status setStringValue:@"Listing ports in all indexes..."];

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070912/b0d3c858/attachment.html


More information about the macports-changes mailing list