UnboundLocalError: local variable 'p' in dse/amqprouter.py

Bug #1417268 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Undecided
Aaron Rosen

Bug Description

st):
  File "/opt/stack/congress/congress/api/application.py", line 47, in __call__
    response = handler.handle_request(request)
  File "/opt/stack/congress/congress/api/webservice.py", line 188, in handle_request
    return self.read(request)
  File "/opt/stack/congress/congress/api/webservice.py", line 205, in read
    context=self._get_context(request))
  File "/opt/stack/congress/congress/api/schema_model.py", line 60, in get_item
    datasource)
  File "/opt/stack/congress/congress/managers/datasource.py", line 121, in get_datasource_driver_schema
    cage.deleteservice('aaron')
  File "/opt/stack/congress/congress/dse/d6cage.py", line 198, in deleteservice
    self.table.remove(name, self.services[name]['inbox'])
  File "/opt/stack/congress/congress/dse/amqprouter.py", line 148, in remove
    wordList = p.split('.')
UnboundLocalError: local variable 'p' referenced before assignment

Aaron Rosen (arosen)
Changed in congress:
assignee: nobody → Aaron Rosen (arosen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (master)

Fix proposed to branch: master
Review: https://review.openstack.org/152361

Changed in congress:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (master)

Reviewed: https://review.openstack.org/152361
Committed: https://git.openstack.org/cgit/stackforge/congress/commit/?id=898f0ac9ed99a205de7b1a39bbf5758394bc1e0e
Submitter: Jenkins
Branch: master

commit 898f0ac9ed99a205de7b1a39bbf5758394bc1e0e
Author: Aaron Rosen <email address hidden>
Date: Mon Feb 2 12:42:30 2015 -0800

    Fix unbound veriable reference in amqprouter and unicode check

    Change-Id: I5e8b3f1c7c24c15c23d2f8b2e3cb3b1b27f92bc4
    Closes-bug: 1417268

Changed in congress:
status: In Progress → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → kilo-3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.