Bug 1214674

Summary: AttributeError: 'dict' object has no attribute 'has_key'
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jdisnard, mebrown, msimacek, msuchy, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-23 12:59:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Horák 2015-04-23 11:15:57 UTC
When trying to init EPEL-5 mock chroot on F-22 ppc64 machine I get an error.

[sharkcz@ibm-power7r2-02-be01 ~]$ mock -r epel-5-ppc
  File "/etc/mock/epel-5-ppc.cfg", line 6, in <module>
    if not config_opts.has_key('macros'):  config_opts['macros'] = {}

AttributeError: 'dict' object has no attribute 'has_key'

ERROR: Error in configuration


Version-Release number of selected component (if applicable):
mock-1.2.7-1.fc22.noarch

Comment 1 Michael Simacek 2015-04-23 12:59:57 UTC

*** This bug has been marked as a duplicate of bug 1204662 ***