Subversion Repositories SmartDukaan

Rev

Rev 36580 | Rev 37402 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36580 Rev 37393
Line 77... Line 77...
77
                EntityUtils.consumeQuietly(seedResponse.getEntity());
77
                EntityUtils.consumeQuietly(seedResponse.getEntity());
78
            }
78
            }
79
 
79
 
80
            for (ImeiActivationTimestampModel imeiActivationTimestampModel : imeisActivationList) {
80
            for (ImeiActivationTimestampModel imeiActivationTimestampModel : imeisActivationList) {
81
                String captchaBreak = this.getNewCaptcha(httpClient, cookieStore);
81
                String captchaBreak = this.getNewCaptcha(httpClient, cookieStore);
-
 
82
                if (captchaBreak == null) {
-
 
83
                    // Solver returned something that is not a captcha code (it was down
-
 
84
                    // for 46 days returning an nginx 502 page, which used to be submitted
-
 
85
                    // to Vivo verbatim). Skip; this IMEI is picked up on the next run.
-
 
86
                    continue;
-
 
87
                }
82
                this.getImeiActivation(captchaBreak, httpClient, imeiActivationTimestampModel);
88
                this.getImeiActivation(captchaBreak, httpClient, imeiActivationTimestampModel);
83
            }
89
            }
84
        }
90
        }
85
    }
91
    }
86
 
92