]> git.saurik.com Git - cydia.git/commitdiff
Do not double log fetch errors.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 21 Feb 2011 11:39:49 +0000 (03:39 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 21 Feb 2011 11:40:08 +0000 (03:40 -0800)
MobileCydia.mm

index bc0a7e035be0fd06a1a8febd266908ef37885675..8241618aceda29826ccbe4df12b8b2f6bb5761a6 100644 (file)
@@ -3688,18 +3688,7 @@ static NSString *Warning_;
         if ((*item)->Status == pkgAcquire::Item::StatIdle)
             continue;
 
-        std::string uri = (*item)->DescURI();
-        std::string error = (*item)->ErrorText;
-
-        lprintf("pAf:%s:%s\n", uri.c_str(), error.c_str());
         failed = true;
-
-        [delegate_ performSelectorOnMainThread:@selector(_setProgressErrorPackage:)
-            withObject:[NSArray arrayWithObjects:
-                [NSString stringWithUTF8String:error.c_str()],
-            nil]
-            waitUntilDone:YES
-        ];
     }
 
     [CydiaApp performSelectorOnMainThread:@selector(releaseNetworkActivityIndicator) withObject:nil waitUntilDone:YES];