Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cache/sqlite.py: unicode_literals | Zac Medico | 2013-01-18 | 1 | -3/+4 |
| | |||||
* | cache/sqlite.py: translate None to empty string | Zac Medico | 2012-09-24 | 1 | -2/+7 |
| | |||||
* | cache/sqlite.py: fix getitem order assumption | Zac Medico | 2012-09-18 | 1 | -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 table | Zac Medico | 2012-06-10 | 1 | -2/+40 |
| | |||||
* | cache.sqlite: handle readonly morev2.2.0_alpha33 | Zac Medico | 2011-05-12 | 1 | -1/+1 |
| | |||||
* | cache.sqlite: handle readonly | Zac Medico | 2011-05-12 | 1 | -2/+3 |
| | |||||
* | cache.sqlite: handle sqlite ImportErrorv2.2.0_alpha21 | Zac Medico | 2011-02-06 | 1 | -8/+15 |
| | | | | This will fix bug #353836. | ||||
* | Remove unused imports found by pylint. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 1 | -2/+1 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Revert r14430 and fix to do as intended. Thanks to Arfrever for reporting.v2.2_rc42 | Zac Medico | 2009-09-26 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=14433 | ||||
* | Make sure self._allowed_keys are sorted in the table create statement. They | Zac Medico | 2009-09-25 | 1 | -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 Arahesis | 2009-09-21 | 1 | -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 Arahesis | 2009-09-21 | 1 | -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 Arahesis | 2009-09-21 | 1 | -0/+4 |
| | | | | svn path=/main/trunk/; revision=14316 | ||||
* | Update syntax of 'except' statements for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -2/+2 |
| | | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289 | ||||
* | Fix broken indentation from previous commits. | Zac Medico | 2009-08-30 | 1 | -5/+5 |
| | | | | svn path=/main/trunk/; revision=14173 | ||||
* | Bug #283223 - Don't call str() on unicode strings inside _db_escape_string(), | Zac Medico | 2009-08-30 | 1 | -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's | Zac Medico | 2009-08-30 | 1 | -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 use | Zac Medico | 2009-08-11 | 1 | -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 unicode | Zac Medico | 2009-07-04 | 1 | -12/+0 |
| | | | | | | now. svn path=/main/trunk/; revision=13784 | ||||
* | Tweak depcache permission handling so egencache can be run by a user who's | Zac Medico | 2009-06-21 | 1 | -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 Arahesis | 2009-06-14 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=13639 | ||||
* | Fix misc typos in comments. | Zac Medico | 2009-03-23 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13168 | ||||
* | Add a temporary workaround for bug #263081 (partially reverts r12757). | Zac Medico | 2009-03-22 | 1 | -0/+12 |
| | | | | svn path=/main/trunk/; revision=13141 | ||||
* | Use basestring instead of str for isinstance check inside use_reduce() so | Zac Medico | 2009-03-05 | 1 | -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 inside | Zac Medico | 2009-03-05 | 1 | -2/+0 |
| | | | | | | database._getitem(). svn path=/main/trunk/; revision=12756 | ||||
* | * Fix portage.cache.template.database.__getitem__() to validate the _mtime_ | Zac Medico | 2009-03-01 | 1 | -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 Medico | 2009-02-23 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=12701 | ||||
* | Remove inappropriate backslash escaping inside _db_escape_string(). | Zac Medico | 2008-11-20 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=12010 | ||||
* | Ensure that cache modules always return a dict containing the _eclasses_ | Zac Medico | 2008-09-25 | 1 | -0/+2 |
| | | | | | | key. svn path=/main/trunk/; revision=11547 | ||||
* | Implement iterkeys on top of __iter__ instead of vice versa. Thanks to ↵ | Zac Medico | 2007-06-21 | 1 | -1/+1 |
| | | | | | | Brian Harring for the suggestion. svn path=/main/trunk/; revision=6918 | ||||
* | Namespace sanitizing, step 3 | Marius Mauch | 2007-01-25 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=5782 | ||||
* | Namespace sanitizing, step 2b | Marius Mauch | 2007-01-25 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=5781 | ||||
* | Namespace sanitizing, step 1 | Marius Mauch | 2007-01-25 | 1 | -0/+236 |
svn path=/main/trunk/; revision=5778 |