Bug 1214674 - AttributeError: 'dict' object has no attribute 'has_key'
Summary: AttributeError: 'dict' object has no attribute 'has_key'
Keywords:
Status: CLOSED DUPLICATE of bug 1204662
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-23 11:15 UTC by Dan Horák
Modified: 2015-04-23 12:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-23 12:59:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.