[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: refresh_mirrorlist_cache traceback



On Sat, Oct 04, 2008 at 09:17:38PM -0400, Ricky Zhou wrote:
> It looks like it's coming from line 113 of
> /usr/share/mirrormanager/server/mirrormanager/mirrorlist.py:
>         if hcurl is None or len(hcurl) == 0: continue
> 
> Should this be changed to just: "if not hcurl: continue" ? I think
> hcurl comes from a SQLObject query, so I'm not 100% sure.  Matt, could
> you take a look at this?  

fixed now, thanks for the report.  kind of hard to take a length of an int.


-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]