summaryrefslogtreecommitdiffstats
path: root/installmethod.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-11-04 22:33:34 +0000
committerJeremy Katz <katzj@redhat.com>2002-11-04 22:33:34 +0000
commitd8d6e8cef165d038c6c4243c9d4339cb05ea73f0 (patch)
tree2eefdf1ecfbf92c38b8f7a996bc75e9f1ed80a40 /installmethod.py
parenta6745e390cc2d9883a118353bb377c98afcfcd0e (diff)
downloadanaconda-d8d6e8cef165d038c6c4243c9d4339cb05ea73f0.tar.gz
anaconda-d8d6e8cef165d038c6c4243c9d4339cb05ea73f0.tar.xz
anaconda-d8d6e8cef165d038c6c4243c9d4339cb05ea73f0.zip
add FileCopyException to be used when we have IO errors grabbing packages
or when pulling packages from a remote site. also, fix ts.setProbFilter
Diffstat (limited to 'installmethod.py')
-rw-r--r--installmethod.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/installmethod.py b/installmethod.py
index a933d886a..19b0e0d74 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -17,6 +17,10 @@ from comps import ComponentSet
from rhpl.log import log
+class FileCopyException(Exception):
+ def __init__(self, s = ""):
+ self.str = s
+
class InstallMethod: