Lines Matching refs:attr
35 def is_supported(attr):
36 """Test if a sys attr is not in the list of ignored attributes."""
42 if i == attr:
87 raise OSError("could not read attr value")
108 def fsetattr(filename, attr):
125 if not attr:
126 raise TypeError("{0} is not a valid system attribute".format(attr))
138 if isinstance(attr, six.string_types):
141 for c in attr:
151 "attribute".format(attr))
154 "attribute".format(attr))
158 "attribute".format(attr))
161 "attribute".format(attr))