summaryrefslogtreecommitdiffstats
path: root/pym/portage/exception.py
Commit message (Collapse)AuthorAgeFilesLines
* Add portage.exception.OperationNotSupported exception.Arfrever Frehtes Taifersar Arahesis2011-12-101-0/+4
|
* UnsupportedAPIException: handle unicode in EAPIZac Medico2011-03-271-3/+14
| | | | | Normally EAPI doesn't contain unicode, but as in bug #359675, it can contain practically anything if files in /var/db/pkg are corrupt.
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2010-10-151-1/+1
|
* Make PortageException __str__ and __unicode__ methods more likeZac Medico2010-09-151-8/+13
| | | | DependencyArg, and add tests.
* Bug #336875 - Don't reference errno.ETIME since it's undefined on FreeBSD.Zac Medico2010-09-121-1/+3
|
* Make AlarmSignal._signal_handler() restore the default SIGALRMZac Medico2010-09-031-0/+1
| | | | handler.
* Make AlarmSignal.register() require a time parameter and pass it toZac Medico2010-09-031-1/+2
| | | | signal.alarm().
* Add AlarmSignal.register() and unregister() classmethods in order toZac Medico2010-09-031-1/+11
| | | | handle interaction with the signal module.
* Bug #335777 - Add a 40 second timeout in ebuild-ipc.py, so that if anZac Medico2010-09-031-0/+14
| | | | | orphan is left for any reason then it will exit with an error message instead of hanging indefinitely.
* Add a IUSE.missing repoman category for packages that have a USEZac Medico2010-08-261-0/+3
| | | | | | conditional which references a flag that is not listed in IUSE. Also split out a Package._metadata_exception() method to handle IUSE.missing for *DEPEND and SRC_URI.
* Make the Atom class add 'EAPI.incompatible' category attributes toZac Medico2010-08-261-0/+6
| | | | | | | | InvalidAtom exceptions, make use_reduce() raise InvalidDependString exceptions that encapsulate InvalidAtom exceptions, and make Package._validate_deps() use the InvalidAtom categories when recording the invalid metadata for use by repoman. Also, remove the EAPI.incompatible code from repoman that's no longer used.
* Make REQUIRED_USE work again. Without paren_reduce this time.Sebastian Luther2010-08-111-3/+0
|
* Implement portage.dep.check_required_use() for checking REQUIRED_USE.Sebastian Luther2010-08-101-0/+3
|
* Implement PortageException.__unicode__ so the string formatin operator willZac Medico2010-03-251-1/+5
| | | | work correctly with unicode strings in python2.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* In python-2.x, convert PortageException.value attribute from unicode to strZac Medico2010-01-051-0/+5
| | | | | | in order to avoid empty output with string format operator. svn path=/main/trunk/; revision=15169
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+4
| | | | svn path=/main/trunk/; revision=14316
* Prepare 308 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-08-151-4/+5
| | | | svn path=/main/trunk/; revision=14067
* Create a new AmbiguousPackageName exception to raise fromZac Medico2008-10-101-0/+7
| | | | | | | | portage.cpv_expand(). It inherits from ValueError, for backward compatibility with calling code that already handles ValueError. svn path=/main/trunk/; revision=11670
* Bug #232924 - When the user specifies a non-existent set, display a list ofZac Medico2008-07-261-0/+3
| | | | | | existing sets. svn path=/main/trunk/; revision=11197
* Bug #230469 - Implement non-blocking distlocks for --fetchonly. This addsZac Medico2008-07-031-0/+4
| | | | | | | | | | a "flags" keyword parameter to the portage.locks.lock() function. Default is flags=0. If flags contains os.O_NONBLOCK then lock() will raise portage.exception.TryAgain instead of blocking. This new flags parameter is used to implement non-blocking distlocks in fetch() when fetchonly mode is enabled. svn path=/main/trunk/; revision=10917
* Bug #196427 - Prevent various news related tracebacksZac Medico2007-10-211-0/+1
| | | | | | | from occuring when running emerge as an unprivileged user in --pretend mode. svn path=/main/trunk/; revision=8214
* Fix UnsupportedAPIException.__str__() to strip the leadingZac Medico2007-10-041-1/+5
| | | | | | negative sign (-) from the EAPI, to prevent confusion. svn path=/main/trunk/; revision=7912
* For bug #180165, make portageq print a "Permission denied" error when ↵Zac Medico2007-06-201-0/+1
| | | | | | appropriate. A PermissionDenied exception is raised from portage.listdir() enven when EmptyOnError is True since errno.EACCES is very likely to indicate a condition that should be reported in any case. svn path=/main/trunk/; revision=6881
* Namespace sanitizing, step 1Marius Mauch2007-01-251-0/+100
svn path=/main/trunk/; revision=5778