aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/rpmutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/rpmutil.py')
-rw-r--r--MgaRepo/rpmutil.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py
index 01de502..8c00da9 100644
--- a/MgaRepo/rpmutil.py
+++ b/MgaRepo/rpmutil.py
@@ -5,8 +5,6 @@ from MgaRepo.svn import SVN
from MgaRepo.simplerpm import SRPM
from MgaRepo.util import execcmd
from MgaRepo.command import default_parent
-from MgaRepo.util import get_output_exec
-
import rpm
import urllib.parse
import tempfile
@@ -684,13 +682,7 @@ def obsolete(pkgdirurl, branch=None, distro=None, backports=None, commit=False,
svn.mv(pkgdirurl, pkgdest, message=log)
if commit:
svn.commit(path, log=log)
- #command = "rpm -q --specfile %s --qf 'Obsoletes: %{name} <= %{evr}\n'" % specpath
- #output = get_output_exec(command)
- #print(output)
- #command = "rpm -q --specfile %s --qf 'Provides: %{name}\n'" % specpath
- #output = get_output_exec(command)
- #print(output)
-
+
def switch(mirrorurl=None):
svn = SVN()
topdir = getpkgtopdir()