summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2005-08-19 20:03:39 +0000
committerPaul Nasrat <pnasrat@redhat.com>2005-08-19 20:03:39 +0000
commit6f4ddb4581a1af2665227937706fa030eb40bcaf (patch)
treee3d81b6ea48283e60d530cef8fc0679c73dad664 /packages.py
parentadf8aa43631a8d11bacfcf914b9138b692408331 (diff)
downloadanaconda-6f4ddb4581a1af2665227937706fa030eb40bcaf.tar.gz
anaconda-6f4ddb4581a1af2665227937706fa030eb40bcaf.tar.xz
anaconda-6f4ddb4581a1af2665227937706fa030eb40bcaf.zip
remove now uncalled anacondaTS
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/packages.py b/packages.py
index faad56fd4..1a02c7f79 100644
--- a/packages.py
+++ b/packages.py
@@ -226,21 +226,6 @@ def setSaneXSettings(xsetup):
xsetup.xhwstate.choose_sane_default()
xsetup.imposed_sane_default = 1
-def getAnacondaTS(instPath = None):
- if instPath:
- ts = rpm.TransactionSet(instPath)
- else:
- ts = rpm.TransactionSet()
- ts.setVSFlags(~(rpm.RPMVSF_NORSA|rpm.RPMVSF_NODSA))
- ts.setFlags(rpm.RPMTRANS_FLAG_ANACONDA)
-
- # set color if needed. FIXME: why isn't this the default :/
- if (rhpl.arch.canonArch.startswith("ppc64") or
- rhpl.arch.canonArch in ("s390x", "sparc64", "x86_64", "ia64")):
- ts.setColor(3)
-
- return ts
-
class InstallCallback:
def packageDownloadCB(self, state, amount):
self.progress.setPackageStatus(state, amount)