Skip to content

Commit

Permalink
Fix 'App' object has no attribute 'queue' (#1243316)
Browse files Browse the repository at this point in the history
Bad name of App property queue. The name needs to be queue_instance.
Fix import queue as queue :)

Resolves: rhbz#1243316
  • Loading branch information
jkonecny12 committed Jul 17, 2015
1 parent 7abb208 commit a29b759
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyanaconda/ui/tui/__init__.py
Expand Up @@ -31,7 +31,7 @@
import os
import sys
import site
import queue as queue
import queue
import meh.ui.text
import logging
log = logging.getLogger("anaconda")
Expand Down Expand Up @@ -204,8 +204,8 @@ def _send_show_message(self, msg_fn, args, ret_queue):
"""

self._app.queue.put((hubQ.HUB_CODE_SHOW_MESSAGE,
[msg_fn, args, ret_queue]))
self._app.queue_instance.put((hubQ.HUB_CODE_SHOW_MESSAGE,
[msg_fn, args, ret_queue]))

def _handle_show_message(self, event, data):
"""
Expand Down

0 comments on commit a29b759

Please sign in to comment.