Lines Matching refs:cats
74 cats = []
79 cats.append(top[1])
80 cats = expandCats(cats)
83 if i not in cats:
84 cats.append(i)
86 if len(cats) > 0:
87 new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats))
126 cats = clist[1:]
127 cats.sort()
128 cat_string = cats[0]
129 for c in cats[1:]:
154 cats = []
159 cats.append(top[1])
160 cats = expandCats(cats)
163 if i in cats:
164 cats.remove(i)
166 if len(cats) > 0:
167 new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats))
279 def check_replace(cats): argument
282 for c in cats:
301 def expandCats(cats): argument
303 for c in cats:
315 return cats
319 def translate(cats): argument
321 if len(cats) == 0:
324 for c in cats:
382 cats = seobject.translate(selinux.getseuserbyname(u)[2])
383 cats = cats.split("-")
384 if len(cats) > 1 and cats[1] != "s0":
385 print("%s: %s" % (u, cats[1]))
387 print("%s: %s" % (u, cats[0]))
446 cats = cmds[0].split(",") variable
451 if check_replace(cats):
452 errors = chcat_replace(translate(cats), objects, login_ind)
454 for c in cats: