summaryrefslogtreecommitdiffstats
path: root/pym/portage/proxy/objectproxy.py
Commit message (Collapse)AuthorAgeFilesLines
* ObjectProxy: implement __enter__ and __exit__Zac Medico2012-09-091-1/+8
|
* Implement __unicode__ for python2.Zac Medico2010-03-271-0/+3
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Add ObjectProxy __gt__, __ge__, __lt__, and __le__ methods to fix TypeErrorZac Medico2010-02-281-0/+12
| | | | | | | | | | with python3 reported by Arfrever: File "/usr/lib/portage/pym/portage/__init__.py", line 513, in portageexit if secpass > 1 and os.environ.get("SANDBOX_ON") != "1": TypeError: unorderable types: _LazyImportFrom() > int() svn path=/main/trunk/; revision=15497
* Define portage.proxy.objectproxy.ObjectProxy.__add__() to fix problem with ↵Arfrever Frehtes Taifersar Arahesis2009-11-051-0/+3
| | | | | | string concatenation reported by dol-sen. svn path=/main/trunk/; revision=14778
* Remove ugly code from __len__, since defining __bool__ fixes the sameZac Medico2009-09-251-9/+1
| | | | | | issue. svn path=/main/trunk/; revision=14428
* Define __bool__() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-251-1/+6
| | | | svn path=/main/trunk/; revision=14427
* For python 3.x with boolean target, len() results in TypeError, soZac Medico2009-09-221-1/+9
| | | | | | make __len__ return 0 or 1 in this case. svn path=/main/trunk/; revision=14377
* Implement ObjectProxy.__int__().Zac Medico2009-08-121-0/+3
| | | | svn path=/main/trunk/; revision=14006
* Reduce bloat in portage.util by splitting ObjectProxy and lazyimport into aZac Medico2009-02-221-0/+66
new portage.proxy package. svn path=/main/trunk/; revision=12676