Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Commit

Permalink
Remove checkEnabledRepo to support el5
Browse files Browse the repository at this point in the history
  • Loading branch information
andytson committed Jul 27, 2014
1 parent d74930a commit 8e79b94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/yum-plugins/replace.py
Expand Up @@ -24,7 +24,7 @@
from yum.plugins import TYPE_CORE, TYPE_INTERACTIVE
from yum.Errors import UpdateError, RemoveError
from yum.constants import PLUG_OPT_STRING, PLUG_OPT_WHERE_ALL
from yumcommands import checkRootUID, checkGPGKey, checkEnabledRepo
from yumcommands import checkRootUID, checkGPGKey

requires_api_version = '2.6'
plugin_type = (TYPE_CORE, TYPE_INTERACTIVE)
Expand Down Expand Up @@ -80,7 +80,6 @@ def getSummary(self):
def doCheck(self, base, basecmd, extcmds):
checkRootUID(base)
checkGPGKey(base)
checkEnabledRepo(base, extcmds)

def doCommand(self, base, basecmd, extcmds):
logger = logging.getLogger("yum.verbose.main")
Expand Down

0 comments on commit 8e79b94

Please sign in to comment.