Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Applet broken in yesterdays and todays cvs HEAD

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: Applet broken in yesterdays and todays cvs HEAD

Reply

Author draco <manannan at cfl dot rr dot com>
Full name draco <manannan at cfl dot rr dot 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
Attachments

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

Applet broken in yesterdays and todays cvs HEAD bleve Tuomo Soini 2003-06-17 13:50:01 PDT
     Re: Applet broken in yesterdays and todays cvs HEAD draco <manannan at cfl dot rr dot com> draco <manannan at cfl dot rr dot com> 2003-06-17 15:37:09 PDT
Messages per page: