api search fix
[frontend] repofiles without specifying architecture
W: 72,28: Unused variable 'out' (unused-variable)
W: 72,24: Unused variable 'rc' (unused-variable)
C:116, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
W:297,12: Unused variable 'hn' (unused-variable)
W:677,24: Unused variable 'out' (unused-variable)
W:677,20: Unused variable 'rc' (unused-variable)
W:543, 4: Dangerous default value DEF_REPOS ([]) as argument (dangerous-default-value)
W:543, 4: Dangerous default value DEF_MACROS ({}) as argument (dangerous-default-value)
W:139, 0: Dangerous default value [] as argument (dangerous-default-value)
W:139, 0: Dangerous default value [0] as argument (dangerous-default-value)
W:139, 0: Dangerous default value ['stdout', 'stderr'] as argument (dangerous-default-value)
W:310, 8: Attribute 'abort' defined outside __init__ (attribute-defined-outside-init)
C: 25, 0: Trailing whitespace (trailing-whitespace)
C:316, 0: No space allowed before comma
                s.sendmail("root@{0}".format(platform.node()), mail , msg.as_string())
                                                                    ^ (bad-whitespace)
C:365, 0: Exactly one space required after comma
                        s.sendmail("root@{0}".format(platform.node()),perm.user.mail , msg.as_string())
                                                                     ^ (bad-whitespace)
C:365, 0: No space allowed before comma
                        s.sendmail("root@{0}".format(platform.node()),perm.user.mail , msg.as_string())
                                                                                     ^ (bad-whitespace)
C:542, 0: Exactly one space required after comma

    oses_grouped = [(len(list(group)),key) for key, group in groupby(oses)]
                                     ^ (bad-whitespace)
C:575, 0: No space allowed around keyword argument assignment

                                 chroots=chroots, oses = oses_grouped, archs = archs,
                                                       ^ (bad-whitespace)
C:575, 0: No space allowed around keyword argument assignment
                                 chroots=chroots, oses=oses_grouped, archs = archs,
                                                                           ^ (bad-whitespace)
C: 27, 0: No space allowed around keyword argument assignment
C: 50, 0: Trailing whitespace (trailing-whitespace)
get rid of multi assigment
C:128, 0: No space allowed around keyword argument assignment

                        chroots = chroots)
                                ^ (bad-whitespace)