when downloading a change: local variable 'configParser' referenced before assignment

Reported by James E. Blair on 2012-04-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-review
Critical
James E. Blair

Bug Description

$ git review -d 6271
Traceback (most recent call last):
  File "/usr/local/bin/git-review", line 7, in <module>
    execfile(__file__)
  File "/usr/local/src/corvus/git-review/git-review", line 691, in <module>
    main()
  File "/usr/local/src/corvus/git-review/git-review", line 575, in main
    config = get_config()
  File "/usr/local/src/corvus/git-review/git-review", line 303, in get_config
    if configParser.has_option("gerrit", "defaultremote"):
UnboundLocalError: local variable 'configParser' referenced before assignment

This was introduced by change I75e5e7b1bdaffb0fbb1a40c690f10bae4b4be20a

James E. Blair (corvus) on 2012-04-05
Changed in git-review:
importance: Undecided → Critical

Reviewed: https://review.openstack.org/6282
Committed: http://github.com/openstack-ci/git-review/commit/4eaa3bb3c0e90599cfc7625adbdd80ba6a33deb0
Submitter: Jenkins
Branch: master

commit 4eaa3bb3c0e90599cfc7625adbdd80ba6a33deb0
Author: James E. Blair <email address hidden>
Date: Thu Apr 5 10:41:09 2012 -0700

    Fix scope error with configParser.

    Fixes bug 974461.

    Change-Id: Ic3e6bc91355dc1df9f14a69f5493ed5dcc497f92

Changed in git-review:
status: New → Fix Committed
James E. Blair (corvus) on 2012-06-22
Changed in git-review:
assignee: nobody → James E. Blair (corvus)
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers