5 # TODO: migrate relevant documentation from C-side
6 class TransactionSet(_rpm.ts):
7 def _wrapSetGet(self, attr, val):
8 oval = getattr(self, attr)
9 setattr(self, attr, val)
12 def setVSFlags(self, flags):
13 return self._wrapSetGet('_vsflags', flags)
18 def setColor(self, color):
19 return self._wrapSetGet('_color', color)
21 def setPrefColor(self, color):
22 return self._wrapSetGet('_prefcolor', color)
24 def setFlags(self, flags):
25 return self._wrapSetGet('_flags', flags)
27 def setProbFilter(self, ignoreSet):
28 return self._wrapSetGet('_probFilter', ignoreSet)
30 def parseSpec(self, specfile):
32 return _rpmb.spec(specfile)
38 # Backwards compatibility goo - WTH does this return a *tuple* ?!