summaryrefslogtreecommitdiffstats
path: root/pym/portage/xml
Commit message (Collapse)AuthorAgeFilesLines
* Use unicode_literals more.Zac Medico2013-01-181-3/+5
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* MetaDataXML: encode unicode file paths safelyZac Medico2012-09-111-4/+5
| | | | | This will fix cases similar to the one fixed in commit f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.
* Handle more import exceptions involving xml.Zac Medico2012-06-041-2/+8
| | | | See http://bugs.python.org/issue14988
* Handle SystemError when importing xml libraries.Zac Medico2012-04-131-3/+3
|
* fix comment garbage from last commitZac Medico2012-01-171-1/+1
|
* xml/metadata.py: handle ExpatErrorZac Medico2012-01-171-2/+9
|
* xml/metadata: handle py 3.1 cElementTree incompatZac Medico2011-09-031-2/+3
| | | | This will fix bug #381657.
* Fix indentation.v2.2.0_alpha52Arfrever Frehtes Taifersar Arahesis2011-09-021-1/+1
|
* xml/metadata: handle py 2.6 cElementTree incompatZac Medico2011-09-021-3/+12
|
* xml/metadata: implement XMLParser.doctype()Zac Medico2011-08-311-2/+13
| | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47.
* Revert "xml/metadata: implement XMLParser.doctype()"Zac Medico2011-08-311-13/+2
| | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included.
* xml/metadata: implement XMLParser.doctype()Zac Medico2011-08-311-2/+13
| | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47.
* Fix deprecated Element.getchildren() call.Zac Medico2011-08-311-2/+1
|
* Add some comments, which will allow to easier find code, which should beArfrever Frehtes Taifersar Arahesis2011-08-251-0/+2
| | | | removed when support for older versions of Python is removed.
* ElementTree: use iter if available (bug #380565)Zac Medico2011-08-241-2/+11
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2011-05-151-2/+2
|
* MetaDataXML: fix broken upstream initializationZac Medico2011-01-021-1/+1
|
* EbuildPhase: Display upstream info before setup.Michał Górny2010-12-291-0/+26
| | | | | Display upstream maintainers and bugtrackers along with Gentoo maintainers when emerging a package.
* Make MetaDataXML.format_maintainer_string() check a values to makeZac Medico2010-09-251-4/+6
| | | | sure they are non-empty and not just whitespace.
* maintainer-info: Don't print 'no-herd' and don't print anything twice (bug ↵Sebastian Luther2010-09-091-0/+5
| | | | 336550)
* Replace the settings and herdstree parameters for the MetaDataXMLZac Medico2010-09-061-8/+13
| | | | | constructor with a single herds parameter that can be either a path to a herds.xml, or a pre-parsed ElementTree.
* Add an optional herdstree parameter to the MetaDataXML constructor,Zac Medico2010-09-061-2/+2
| | | | | | in case the caller has already parsed herds.xml. This allows the caller to parse herds.xml once an re-use the same ElementTree instance for many different MetaDataXML instances.
* Add portage.xml.metadata to parse metadata.xmlSebastian Luther2010-09-062-0/+340
This is a slightly modified version of gentoolkit.metadata