summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* Handle CacheCorruption from self.db_ro in _setitem, triggered by INHERITEDZac Medico2010-03-021-1/+4
* Reverting r15293, it was actually not needed. (trunk r15298)Zac Medico2010-03-021-1/+1
* In __iter__, handle OSError from lstat in case a cache entry disappears.Zac Medico2010-03-021-1/+5
* Make __iter__ use list.pop() instead of pop(0), for greater efficiency.Zac Medico2010-03-021-6/+4
* Bug #302764 - Inside __iter__, only recurse 1 deep, in order to avoidZac Medico2010-03-021-4/+10
* Fix: change os.mkdir to os.makedirs in case of there are more than one direct...Zac Medico2010-03-021-1/+1
* fix flat_list cache backendZac Medico2010-03-021-11/+11
* Define __slots__ in all classes. (trunk r15287)Zac Medico2010-03-021-0/+8
* fix: python dbm module doesn't accept unicode as key (trunk r15286)Zac Medico2010-03-021-2/+2
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-241-1/+1
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-242-2/+3
* Add OrderedDict class. (trunk r14967)Zac Medico2009-12-101-0/+26
* Revert r14430 and fix to do as intended. Thanks to Arfrever for reporting.v2.2_rc42Zac Medico2009-09-261-2/+4
* Make sure self._allowed_keys are sorted in the table create statement. TheyZac Medico2009-09-251-1/+1
* Fix regression in _getitem() from r14398, since myf.read().split("\n")Zac Medico2009-09-241-1/+4
* Use dict.__iter__ instead of keys(), since it behaves identically in pythonZac Medico2009-09-241-2/+2
* Misc performance enhancements. Thanks to Marat RadchenkoZac Medico2009-09-242-11/+8
* Bug #285979 - Replace references to CDEPEND with UNUSED_00, to make it clearZac Medico2009-09-232-2/+2
* Optimize SlotDict.iteritems() a little.Zac Medico2009-09-221-1/+2
* Make SlotDict use call self.iteritems() where appropriate since it implementsZac Medico2009-09-221-5/+5
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-222-7/+7
* Fix for python 3.x compatibility.Zac Medico2009-09-221-5/+13
* Fix items to prevent infinite recursion.Zac Medico2009-09-221-1/+1
* Decode database name passed to portage.cache.sqlite.database._db_module.conne...Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
* Use next(iterator) instead of iterator.next() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
* Define long as int when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-215-0/+14
* Fix infinite recursion in items and values methods.Zac Medico2009-09-211-4/+4
* Use dict.(keys|values|items)() instead of dict.(iterkeys|itervalues|iteritems...Arfrever Frehtes Taifersar Arahesis2009-09-215-29/+29
* Use range() instead of xrange() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-212-3/+3
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-213-0/+11
* Support print() function with Python 2 in more files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
* Update syntax of numbers for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-202-6/+6
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-209-44/+44
* Fix broken indentation from previous commits.Zac Medico2009-08-301-5/+5
* Bug #283223 - Don't call str() on unicode strings inside _db_escape_string(),Zac Medico2009-08-301-1/+5
* Bug #283223 - Don't call str() inside _db_escape_string(), since it'sZac Medico2009-08-301-1/+1
* Use plain ascii encoding for this file, in order to avoid error messages likeZac Medico2009-08-271-2/+1
* Replace _content_encoding, _fs_encoding, and _merge_encoding with directZac Medico2009-08-211-2/+2
* Use _encodings where appropriate.Zac Medico2009-08-213-20/+39
* Use _content_encoding and _fs_encoding for unicode encoding/decoding.Zac Medico2009-08-171-1/+6
* Bug #281355 - Handle IndexError inside reconstruct_eclasses().Zac Medico2009-08-131-0/+3
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-117-36/+46
* Do not pass unicode strings into os.walk calls, since it can causeZac Medico2009-08-061-1/+8
* Use readlines() to optimize performance. Thanks to Marat RadchenkoZac Medico2009-07-192-2/+1
* Hardcode utf_8 encoding inside _setitem().Zac Medico2009-07-051-3/+2
* Assume utf_8 encoding in alls reads/writes (unicode handling required for py3k).Zac Medico2009-07-051-3/+6
* Remove the workaround from bug #263081 since most strings should be unicodeZac Medico2009-07-041-12/+0
* Fix constructor to avoid TypeError when the "perms" keyword parameter is given.Zac Medico2009-06-281-0/+1
* Use portage.util.apply_permissions() inside _ensure_access().Zac Medico2009-06-221-6/+10