aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove all svn $Id keywords.Zac Medico2010-03-246-6/+0
|
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-213-3/+3
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+1
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* Use portage.os, _content_encoding, and _fs_encoding where appropriate.Zac Medico2009-08-174-6/+7
| | | | svn path=/main/trunk/; revision=14078
* Make KeyValuePairFileLoader store the values as a strings instead of a lists.Zac Medico2009-03-031-1/+1
| | | | svn path=/main/trunk/; revision=12744
* Open then temp file in text mode for py3k compatibility.Zac Medico2009-02-271-1/+1
| | | | svn path=/main/trunk/; revision=12728
* Open the temp file in text mode for py3k compatibility.Zac Medico2009-02-271-2/+1
| | | | svn path=/main/trunk/; revision=12727
* Set svn:keywords Id on all files.Zac Medico2009-02-183-3/+3
| | | | svn path=/main/trunk/; revision=12626
* Rewrite testing to use __test__ instead of hardcoded dirsAlec Warner2007-09-072-0/+0
| | | | svn path=/main/trunk/; revision=7748
* add more tests for keyvaluepairloader (it had a bug previously) and fix up ↵Alec Warner2007-07-232-12/+14
| | | | | | other misc tests svn path=/main/trunk/; revision=7371
* Remove more unnecessary list generation.Zac Medico2007-06-212-2/+3
| | | | svn path=/main/trunk/; revision=6913
* fix tests for PortageModulesFileAlec Warner2007-03-261-4/+7
| | | | svn path=/main/trunk/; revision=6289
* fix some tests, break othersAlec Warner2007-03-263-4/+39
| | | | svn path=/main/trunk/; revision=6287
* Fix insecure tempfile usageAlec Warner2007-03-263-6/+11
| | | | svn path=/main/trunk/; revision=6286
* Fix the rest of the testsAlec Warner2007-03-253-7/+7
| | | | svn path=/main/trunk/; revision=6279
* Use mkstemp to create a random tempfile.Zac Medico2007-03-171-3/+5
| | | | svn path=/main/trunk/; revision=6226
* Fix a broken test.Zac Medico2007-03-171-1/+1
| | | | svn path=/main/trunk/; revision=6224
* whoopse, s/;/:/Alec Warner2007-03-081-1/+1
| | | | svn path=/main/trunk/; revision=6194
* add PackageMask{File} classes, change unit tests to use try/finally, makes ↵Alec Warner2007-03-083-12/+46
| | | | | | sure the tempfile gets destroyed even if something weird happens svn path=/main/trunk/; revision=6193
* Change load() to have no default arguments, makes caller specifiy ↵Alec Warner2007-03-082-1/+34
| | | | | | explicitly...I think assuming a default arg is bad here. Also add PackageUse and PackageUseFile, change up the comments a bit. I've started to notice code re-use here; these are basically the same code. I think I will write up the rest of the package* classes and then perform code merges to save LOC and memory and whatnot svn path=/main/trunk/; revision=6192
* Part of my attempt now involves cleaning up config; this means for me; ↵Alec Warner2007-03-073-0/+45
removing the file-based stuff from it (config_path) and encapsulating that into classes. This is the first one, a simple PackageKeywords class that does file-based stuff, no recursion yet but soon. Trying to do TDD here as well,so tests first then code. svn path=/main/trunk/; revision=6190