summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #281133 - Fix the here-document code inside run_checks() to properlyZac Medico2009-08-121-1/+1
| | | | | | detect the end of a here-document when it is indented by whitespace. svn path=/main/trunk/; revision=14012
* Use _unicode_encode() and _unicode_decode() where appropriate.Zac Medico2009-08-121-17/+21
| | | | svn path=/main/trunk/; revision=14011
* Call _ensure_default_encoding() ASAP since writemsg() might not work withoutZac Medico2009-08-121-131/+132
| | | | | | it. svn path=/main/trunk/; revision=14010
* Use _unicode_encode() where appropriate.Zac Medico2009-08-122-7/+9
| | | | svn path=/main/trunk/; revision=14009
* Use a single sys.hexversion conditional for both _unicode_func_wrapper()Zac Medico2009-08-122-2/+3
| | | | | | and _unicode_module_wrapper(). svn path=/main/trunk/; revision=14008
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-122-17/+20
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14007
* Implement ObjectProxy.__int__().Zac Medico2009-08-121-0/+3
| | | | svn path=/main/trunk/; revision=14006
* Show a traceback when spawn() fails.Zac Medico2009-08-121-0/+2
| | | | svn path=/main/trunk/; revision=14005
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-112-7/+7
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14004
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-114-51/+51
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14003
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-117-36/+46
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14002
* Wrap portage.data.lchown() for unicode support in python-2.x.Zac Medico2009-08-112-2/+6
| | | | svn path=/main/trunk/; revision=14001
* Filter ACCEPT_PROPERTIES from the ebuild environment, since unlikeZac Medico2009-08-111-2/+2
| | | | | | | ACCEPT_LICENSE (used by check_license in eutils.eclass), ACCEPT_PROPERTIES should never be needed in the ebuild environment. svn path=/main/trunk/; revision=14000
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-112-19/+16
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13999
* Temporarily delete the os and shutil imports, to ensure that only theZac Medico2009-08-111-2/+10
| | | | | | wrapped versions are imported by portage internals. svn path=/main/trunk/; revision=13998
* Add ACCEPT_PROPERTIES variable which has default value * and can be set inMounir Lamouri2009-08-113-3/+165
| | | | | | | make.conf or /etc/portage/package.properties. If ACCEPT_PROPERTIES doesn't match ebuild PROPERTIES, the ebuild is masked. svn path=/main/trunk/; revision=13997
* Update imports to import portage.os and portage.shutil (with unicodeZac Medico2009-08-112-35/+27
| | | | | | wrappers), and use _unicode_encode() where appropriate. svn path=/main/trunk/; revision=13996
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1113-110/+29
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1111-71/+27
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1122-156/+57
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Avoid using the wrapped os.read(), in order to avoid differing behaviorZac Medico2009-08-111-9/+4
| | | | | | | | between python-2.x (with wrapper) and py3k (without wrapper). This sort of mismatch only applies to os functions that return raw bytes under py3k, rather than unicode. svn path=/main/trunk/; revision=13992
* Fix breakage from previous commit.Zac Medico2009-08-111-1/+1
| | | | svn path=/main/trunk/; revision=13991
* Fix unicode support for compatibility with the new wrapped os module, andZac Medico2009-08-112-63/+31
| | | | | | use _unicode_decode() and _unicode_encode() where appropriate. svn path=/main/trunk/; revision=13990
* Bug #280460 - Wrap portage.os with unicode encode/decode wrappers.Zac Medico2009-08-102-2/+4
| | | | svn path=/main/trunk/; revision=13989
* Bug #280460 - Wrap os and os.path modules with unicode encode/decodeZac Medico2009-08-102-1/+69
| | | | | | wrappers for python-2.x. svn path=/main/trunk/; revision=13978
* Bug #280998 - Misc selinux fixes. Thanks to Chris PeBenitoZac Medico2009-08-102-10/+15
| | | | | | <pebenito@gentoo.org> for this patch. svn path=/main/trunk/; revision=13977
* Open new items in text mode (unicode), and safely handle unicode in news itemv2.2_rc38Zac Medico2009-08-101-1/+5
| | | | | | names. svn path=/main/trunk/; revision=13975
* Bug #280962 - Fix broken path normalization insideZac Medico2009-08-101-9/+10
| | | | | | StaticFileSet.multiBuilder(). svn path=/main/trunk/; revision=13974
* Use writemsg_stdout() for safe unicode output of --list-sets.Zac Medico2009-08-101-3/+2
| | | | svn path=/main/trunk/; revision=13973
* Fix PreservedLibsRegistry.pruneNonExisting() to work with $ROOT.Zac Medico2009-08-101-4/+9
| | | | svn path=/main/trunk/; revision=13972
* Don't trigger the --root-deps code for removal actions such as --prune andZac Medico2009-08-101-7/+8
| | | | | | --depclean. svn path=/main/trunk/; revision=13971
* In calc_depclean(), sort packages that are displayed due to being pulledZac Medico2009-08-101-1/+2
| | | | | | in by link level dependencies. svn path=/main/trunk/; revision=13970
* Tweak $ROOT handling inside depgraph._add_pkg_deps() for removal actions,Zac Medico2009-08-101-0/+2
| | | | | | so --with-bdeps works correctly with --depclean and --prune. svn path=/main/trunk/; revision=13969
* Inside calc_depclean(), use LinkageMap.findConsumers() for checkingZac Medico2009-08-101-15/+11
| | | | | | | intersection of files being removed with providers in the LinkageMap (a KeyError is raised when there is no intersection). svn path=/main/trunk/; revision=13968
* Remove unused import.v2.2_rc37Zac Medico2009-08-091-1/+0
| | | | svn path=/main/trunk/; revision=13966
* Make everything safe for unicode (this should fix the elog modules thatZac Medico2009-08-091-1/+28
| | | | | | send mail). svn path=/main/trunk/; revision=13965
* Fix EOutput to safely write unicode to stderr/stdout. Thanks to Arfrever forZac Medico2009-08-091-14/+17
| | | | | | reporting. svn path=/main/trunk/; revision=13964
* Encode unicode messages as bytes in order to avoid TypeError fromZac Medico2009-08-091-6/+14
| | | | | | syslog.syslog() with python-2.x. svn path=/main/trunk/; revision=13962
* Write log files in text mode (unicode). Thanks to Arfrever for reporting.Zac Medico2009-08-092-2/+6
| | | | svn path=/main/trunk/; revision=13961
* Always use encoding='utf_8' for unicode() calls.Zac Medico2009-08-094-5/+7
| | | | svn path=/main/trunk/; revision=13960
* Inside collect_ebuild_messages(), open elog files in text mode (unicode).Zac Medico2009-08-091-1/+3
| | | | | | Thanks to jlec for reporting. svn path=/main/trunk/; revision=13958
* Convert scanelf output to unicode inside LinkageMap.rebuild().Zac Medico2009-08-081-0/+2
| | | | svn path=/main/trunk/; revision=13957
* Use writemsg_stdout() for safe display of unicode overlay paths.Zac Medico2009-08-081-1/+1
| | | | svn path=/main/trunk/; revision=13956
* Use writemsg_stdout() for safe unicode output.Zac Medico2009-08-081-8/+18
| | | | svn path=/main/trunk/; revision=13955
* Add missing noiselevel argument in writemsg_stdout() calls.Zac Medico2009-08-081-3/+5
| | | | svn path=/main/trunk/; revision=13954
* In Task.__str__(), emulate tuple.__str__, but don't show 'foo' as u'foo' forZac Medico2009-08-081-2/+5
| | | | | | unicode strings. svn path=/main/trunk/; revision=13950
* Account for hardlinks when computing SIZE metadata.Zac Medico2009-08-081-1/+4
| | | | svn path=/main/trunk/; revision=13949
* Use writemsg_stdout() for safe unicode output.Zac Medico2009-08-071-17/+3
| | | | svn path=/main/trunk/; revision=13948
* Open repo_name in text mode (unicode).Zac Medico2009-08-071-1/+2
| | | | svn path=/main/trunk/; revision=13947
* In config.__setitem__(), convert keys/values to unicode in order to avoidZac Medico2009-08-071-1/+8
| | | | | | potential UnicodeDecodeError exceptions later. svn path=/main/trunk/; revision=13946