Roundup Tracker - Issues

Issue 527416

classification
roundup-admin uses undefined value
Type: Severity: normal
Components: Command-line interface Versions:
process
Status: closed fixed
:
: richard : lannert, richard
Priority: normal :

Created on 2002-03-08 15:21 by lannert, last changed 2002-03-08 15:21 by lannert.

Messages
msg203 Author: [hidden] (lannert) Date: 2002-03-08 15:21
In roundup/admin.py a local variable "value" is
used but has no value. The following patch made
the exception disappear:

***
/usr/local/lib/python2.2/site-packages/roundup/admin.py.orig       
Wed Jan 23 22:38:50 2002
---
/usr/local/lib/python2.2/site-packages/roundup/admin.py    
Fri Mar  8 16:11:54 2002
***************
*** 529,535 ****              props =
self.props_from_args(args[1:])
  
          # convert types
!         for propname in props.keys():
              # get the property
              try:
                  proptype = properties[propname]
--- 529,535 ----
              props = self.props_from_args(args[1:])
  
          # convert types
!         for propname, value in props.items():
              # get the property
              try:
                  proptype = properties[propname]
History
Date User Action Args
2002-03-08 15:21:24lannertcreate