summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Use _encodings where appropriate.Zac Medico2009-08-213-20/+39
| | | | svn path=/main/trunk/; revision=14107
* Use _encodings where appropriate.Zac Medico2009-08-202-4/+12
| | | | svn path=/main/trunk/; revision=14106
* Use _encodings where appropriate.Zac Medico2009-08-201-7/+17
| | | | svn path=/main/trunk/; revision=14105
* Fix typo from previous commit.Zac Medico2009-08-191-1/+1
| | | | svn path=/main/trunk/; revision=14103
* If sys.getdefaultencoding() returns None (this can happen if python is builtZac Medico2009-08-191-1/+5
| | | | | | with USE=build, in stage 1), fall back to _encodings['merge'] = 'ascii'. svn path=/main/trunk/; revision=14102
* Use _encodings where appropriate.Zac Medico2009-08-192-6/+13
| | | | svn path=/main/trunk/; revision=14101
* Use _encodings where appropriate.Zac Medico2009-08-193-9/+20
| | | | svn path=/main/trunk/; revision=14100
* Use _encodings where appropriate.Zac Medico2009-08-192-7/+16
| | | | svn path=/main/trunk/; revision=14099
* Use _encodings['repo.content'] for decoding profiles.desc, ChangeLog,Zac Medico2009-08-191-0/+1
| | | | | | metadata.xml, and ebuilds. svn path=/main/trunk/; revision=14098
* Use portage.os and _encodings where appropriate.Zac Medico2009-08-191-2/+8
| | | | svn path=/main/trunk/; revision=14097
* Remove unused os import.Zac Medico2009-08-191-1/+0
| | | | svn path=/main/trunk/; revision=14096
* Use portage.os and _encodings where appropriate.Zac Medico2009-08-191-5/+14
| | | | svn path=/main/trunk/; revision=14095
* Use portage.os and _encodings where appropriate.Zac Medico2009-08-191-2/+12
| | | | svn path=/main/trunk/; revision=14094
* Use portage.os and _encodings['fs'] where appropriate.Zac Medico2009-08-181-5/+12
| | | | svn path=/main/trunk/; revision=14093
* Use errors='backslashreplace' instead of 'replace' for the defaultZac Medico2009-08-181-1/+2
| | | | | | | _unicode_encode() argument ('replace' substitutes '?', which is not as useful). svn path=/main/trunk/; revision=14092
* Replace the _{content,fs,merge}_encoding attributes with an _encodings dict.Zac Medico2009-08-181-52/+69
| | | | svn path=/main/trunk/; revision=14091
* Use _content_encoding and _fs_encoding, and use strict unicode exceptionsZac Medico2009-08-181-20/+37
| | | | | | where appropriate. svn path=/main/trunk/; revision=14090
* Use the new portage.output._init(config_root) function.Zac Medico2009-08-182-1/+2
| | | | svn path=/main/trunk/; revision=14089
* Use _content_encoding where appropriate.Zac Medico2009-08-181-23/+32
| | | | svn path=/main/trunk/; revision=14088
* Don't wrap os.popen().Zac Medico2009-08-181-0/+1
| | | | svn path=/main/trunk/; revision=14087
* Bug #270866 - Validate News-Item-Format headers.Zac Medico2009-08-181-0/+5
| | | | svn path=/main/trunk/; revision=14086
* Use _content_encoding and _fs_encoding where appropriate. Also, enableZac Medico2009-08-181-17/+21
| | | | | | strict exceptions for unicode encoding failures. svn path=/main/trunk/; revision=14085
* Use _content_encoding and _fs_encoding where appropriate.Zac Medico2009-08-181-5/+8
| | | | svn path=/main/trunk/; revision=14084
* Implement lazy loading of color.map when either the codes or _stylesZac Medico2009-08-181-12/+45
| | | | | | | | attribute is accessed. This provides and _init(config_root='/') function that the prefix branch can use to substitute an appropriate config_root value at runtime. svn path=/main/trunk/; revision=14083
* Use st_* attributes instead of the stat module.Zac Medico2009-08-181-5/+4
| | | | svn path=/main/trunk/; revision=14082
* Bug #277619 - Fix news item relevance logic. Thanks to Alec WarnerZac Medico2009-08-171-11/+22
| | | | | | <antarus@gentoo.org> for this patch. svn path=/main/trunk/; revision=14081
* Use portage.os, _content_encoding, and _fs_encoding where appropriate.Zac Medico2009-08-172-7/+26
| | | | svn path=/main/trunk/; revision=14080
* Enable error='strict' when encoding arguments inside _unicode_func_wrapper(),Zac Medico2009-08-171-5/+14
| | | | | | and document behavior. svn path=/main/trunk/; revision=14079
* Use portage.os, _content_encoding, and _fs_encoding where appropriate.Zac Medico2009-08-1711-26/+32
| | | | svn path=/main/trunk/; revision=14078
* Test the edge case.Zac Medico2009-08-171-0/+3
| | | | svn path=/main/trunk/; revision=14077
* Use portage.os and _fs_encoding where appropriate, and fix binary stringZac Medico2009-08-171-59/+88
| | | | | | handling for py3k compat. svn path=/main/trunk/; revision=14074
* When _unicode_func_wrapper() decodes a string in a returned list (typicallyZac Medico2009-08-171-5/+14
| | | | | | | from os.listdir), discard values with invalid encoding. This insures that all names returned from all os.listdir() calls are valid. svn path=/main/trunk/; revision=14073
* Use _content_encoding and _fs_encoding for unicode encoding/decoding.Zac Medico2009-08-175-41/+98
| | | | svn path=/main/trunk/; revision=14072
* Use a clean listener system for portage.elog instead of _emerge_elog_listenerMounir Lamouri2009-08-162-7/+19
| | | | svn path=/main/trunk/; revision=14071
* Scheduler is now able to clean world set when removing a package.Mounir Lamouri2009-08-153-16/+30
| | | | | | | world_atom function has been updated and PackageUninstall is calling it after unmerge. svn path=/main/trunk/; revision=14070
* sets/files.py cleanPackages function stop calling lock and loadMounir Lamouri2009-08-152-5/+20
| | | | | | | and requires the caller to do that changing unmerge to reflect this change svn path=/main/trunk/; revision=14069
* Prepare 308 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-08-1517-502/+511
| | | | svn path=/main/trunk/; revision=14067
* Fix typo.Zac Medico2009-08-151-1/+1
| | | | svn path=/main/trunk/; revision=14064
* Remove ACCEPT_PROPERTIES variable generation code which isn't needed since,Zac Medico2009-08-151-32/+0
| | | | | | | unlike ACCEPT_LICENSE, ACCEPT_PROPERTIES isn't passed into the ebuild environment. svn path=/main/trunk/; revision=14063
* Update import to import portage.os (with unicode wrappers), and useZac Medico2009-08-151-6/+5
| | | | | | | _unicode_encode() and _content_encoding for encoding unicode env vars in spawn(). svn path=/main/trunk/; revision=14062
* Make movefile() use process.spawn() instead of getstatusoutput() when callingZac Medico2009-08-151-4/+5
| | | | | | MOVE_BINARY, since spawn will pass encoded file paths directly as arguments. svn path=/main/trunk/; revision=14061
* Make _generate_hash_function() use _fs_encoding to encode the filenameZac Medico2009-08-151-1/+2
| | | | | | (if it's not already encoded), and enable errors='strict'. svn path=/main/trunk/; revision=14060
* In perform_checksum(), encode the filename with correct encoding beforeZac Medico2009-08-151-5/+12
| | | | | | | passing to spawn (for prelink), and enable strict encoding behavior in _perform_md5_merge(). svn path=/main/trunk/; revision=14059
* Fix dblink._unmerge_pkgfiles() to use the correct version of perform_md5Zac Medico2009-08-152-2/+6
| | | | | | when it falls back to utf8 encoding. svn path=/main/trunk/; revision=14058
* Fix broken _selinux_merge definition.Zac Medico2009-08-141-1/+2
| | | | svn path=/main/trunk/; revision=14057
* Add a portage._content_encoding constant, set to utf_8.Zac Medico2009-08-142-10/+14
| | | | svn path=/main/trunk/; revision=14056
* Use portage._fs_encoding where appropriage, and use strict handling forZac Medico2009-08-141-4/+17
| | | | | | errors. svn path=/main/trunk/; revision=14055
* Handle UnicodeDecodeError for os.walk() inside digestcheck().Zac Medico2009-08-141-2/+27
| | | | svn path=/main/trunk/; revision=14054
* Use portage._fs_encoding where applicable.Zac Medico2009-08-142-5/+7
| | | | svn path=/main/trunk/; revision=14053
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-147-25/+40
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14052