blob: e4f28347ad78bba3098cad922532a621616c05b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
import portage
class UninstallFailure(portage.exception.PortageException):
"""
An instance of this class is raised by unmerge() when
an uninstallation fails.
"""
status = 1
def __init__(self, *pargs):
portage.exception.PortageException.__init__(self, pargs)
if pargs:
self.status = pargs[0]
|