Login | Register
My pages Projects Community openCollabNet
Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author draco <manannan@cfl.rr.com>
Full name draco <manannan@cfl.rr.com>
Date 2003-06-17 15:37:09 PDT
Message On Tue, Jun 17, 2003 at 11:50:01PM +0300, Tuomo Soini wrote dev:
> current.log
> Traceback (most recent call last):
> File "/usr/share/current/​current_apache.py", line 301, in callAPIMethod
> result = apply(func, params)
> File "/usr/share/current/​api/applet.py", line 25, in poll_status
> return resultr
> NameError: global name 'resultr' is not defined
s/resultr/result/

alternately, apply this patch:

$ cvs diff
Index: applet.py
====================​====================​====================​=======
RCS file: /cvs/current/src/api​/applet.py,v
retrieving revision 1.3
diff -u -r1.3 applet.py
--- applet.py 16 Jun 2003 18:05:58 -0000 1.3
+++ applet.py 17 Jun 2003 22:36:24 -0000
@@ -22,7 +22,7 @@
     result = {}
     result['checkin_interval'] = 15360
     result['server_status'] = 'normal'
- return resultr
+ return result


 def poll_packages(release, arch, last_checkin, uuid):



--
draco
"I know you think you thought you knew what you thought I said,
but I'm not sure you understood what you thought I meant." -- fortune