>From what I can see, it appears that one at least one row in your data file, 
>the value in the second column is something other than 'Windows' or 'Linux'. 

Before the 
Code:
if(m.group('devType')=='Linux'):

, insert this:



Code:
    
    devType = m.group('devType')
    if devType not in ('Linux','Windows'):
        print 'UNKNOWN DEVTYPE: %s' % devType
        print 'Skipping row %s' % line
        continue




That should tell you what happened.

chip




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34134#34134

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to