List Info

Thread: A small bug in Engine.SIGHUP?




A small bug in Engine.SIGHUP?
user name
2007-05-01 08:29:17
Hello all,

In CherryPy 3.0.1, file _cpengine.py, line 290, one can
read:

        def SIGTERM(signum=None, frame=None):
            cherrypy.server.stop()
            self.stop()

The 'self' parameter is missing, isn't it?

We should have:

        def SIGTERM(self, signum=None, frame=None):
            cherrypy.server.stop()
            self.stop()

Thanks for your answer!

-- Nicolas Grilly

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: A small bug in Engine.SIGHUP?
user name
2007-05-01 08:33:23
On 5/1/07, Nicolas Grilly <nicolasgrilly.com> wrote:
>
> Hello all,
>
> In CherryPy 3.0.1, file _cpengine.py, line 290, one can
read:
>
>         def SIGTERM(signum=None, frame=None):
>             cherrypy.server.stop()
>             self.stop()
>
> The 'self' parameter is missing, isn't it?

Yep, good catch.  This was actually addressed in
http://cherrypy.org/ti
cket/667 and will be available in the next
release.

Christian
http://www.dowski.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: A small bug in Engine.SIGHUP?
user name
2007-05-01 12:54:12
> Yep, good catch.  This was actually addressed in
> http://cherrypy.org/ti
cket/667 and will be available in the next
> release.

Ok, thanks! Sorry for having reported this without searching
the ticket
database before...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )