summaryrefslogtreecommitdiffstats
path: root/pym/portage/cache/sqlite.py
Commit message (Collapse)AuthorAgeFilesLines
* cache/sqlite.py: unicode_literalsZac Medico2013-01-181-3/+4
|
* cache/sqlite.py: translate None to empty stringZac Medico2012-09-241-2/+7
|
* cache/sqlite.py: fix getitem order assumptionZac Medico2012-09-181-11/+5
| | | | | The order assumption was incorrect when new columns were added, since they could be added in any order.
* cache/sqlite.py: dynamically add columns to tableZac Medico2012-06-101-2/+40
|
* cache.sqlite: handle readonly morev2.2.0_alpha33Zac Medico2011-05-121-1/+1
|
* cache.sqlite: handle readonlyZac Medico2011-05-121-2/+3
|
* cache.sqlite: handle sqlite ImportErrorv2.2.0_alpha21Zac Medico2011-02-061-8/+15
| | | | This will fix bug #353836.
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-2/+1
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Revert r14430 and fix to do as intended. Thanks to Arfrever for reporting.v2.2_rc42Zac Medico2009-09-261-2/+4
| | | | svn path=/main/trunk/; revision=14433
* Make sure self._allowed_keys are sorted in the table create statement. TheyZac Medico2009-09-251-1/+1
| | | | | | already are sorted, but do it explicitly here for clarity. svn path=/main/trunk/; revision=14430
* Decode database name passed to ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
| | | | | | portage.cache.sqlite.database._db_module.connect() for compatibility with Python 3. svn path=/main/trunk/; revision=14357
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+4
| | | | svn path=/main/trunk/; revision=14316
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+2
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Fix broken indentation from previous commits.Zac Medico2009-08-301-5/+5
| | | | svn path=/main/trunk/; revision=14173
* Bug #283223 - Don't call str() on unicode strings inside _db_escape_string(),Zac Medico2009-08-301-1/+5
| | | | | | since it can trigger a UnicodeEncodeError in python-2.x. svn path=/main/trunk/; revision=14172
* Bug #283223 - Don't call str() inside _db_escape_string(), since it'sZac Medico2009-08-301-1/+1
| | | | | | redundant and it can trigger a UnicodeEncodeError in python-2.x. svn path=/main/trunk/; revision=14171
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-4/+4
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14002
* Remove the workaround from bug #263081 since most strings should be unicodeZac Medico2009-07-041-12/+0
| | | | | | now. svn path=/main/trunk/; revision=13784
* Tweak depcache permission handling so egencache can be run by a user who'sZac Medico2009-06-211-1/+1
| | | | | | not in the portage group, allowing for better privilege isolation. svn path=/main/trunk/; revision=13660
* Prepare 117 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-06-141-1/+2
| | | | svn path=/main/trunk/; revision=13639
* Fix misc typos in comments.Zac Medico2009-03-231-1/+1
| | | | svn path=/main/trunk/; revision=13168
* Add a temporary workaround for bug #263081 (partially reverts r12757).Zac Medico2009-03-221-0/+12
| | | | svn path=/main/trunk/; revision=13141
* Use basestring instead of str for isinstance check inside use_reduce() soZac Medico2009-03-051-6/+1
| | | | | | | that it works with unicode and remove related unicode to str workaround code from the sqlite cache module. svn path=/main/trunk/; revision=12757
* Remove unnecessary setting of default values to empty strings insideZac Medico2009-03-051-2/+0
| | | | | | database._getitem(). svn path=/main/trunk/; revision=12756
* * Fix portage.cache.template.database.__getitem__() to validate the _mtime_Zac Medico2009-03-011-5/+1
| | | | | | | | | | | field and raise a CacheCorruption exception if necessary. * Make _mtime_ and _eclasses_ validation code in portdbapi and mirror_cache() assume that these fields are the correct type (otherwise a CacheCorruption exeception should be raised earlier). * Fix the sqlite module to implement _getitem() so that it properly inherits __getitem__() _mtime_ and _eclasses_ handling. svn path=/main/trunk/; revision=12735
* Fix headers that contain $Header instead of $Id.Zac Medico2009-02-231-2/+2
| | | | svn path=/main/trunk/; revision=12701
* Remove inappropriate backslash escaping inside _db_escape_string().Zac Medico2008-11-201-1/+2
| | | | svn path=/main/trunk/; revision=12010
* Ensure that cache modules always return a dict containing the _eclasses_Zac Medico2008-09-251-0/+2
| | | | | | key. svn path=/main/trunk/; revision=11547
* Implement iterkeys on top of __iter__ instead of vice versa. Thanks to ↵Zac Medico2007-06-211-1/+1
| | | | | | Brian Harring for the suggestion. svn path=/main/trunk/; revision=6918
* Namespace sanitizing, step 3Marius Mauch2007-01-251-3/+3
| | | | svn path=/main/trunk/; revision=5782
* Namespace sanitizing, step 2bMarius Mauch2007-01-251-2/+2
| | | | svn path=/main/trunk/; revision=5781
* Namespace sanitizing, step 1Marius Mauch2007-01-251-0/+236
svn path=/main/trunk/; revision=5778