diff options
author | Robert Brewer <fumanchu@aminus.org> | 2009-06-02 06:18:46 +0000 |
---|---|---|
committer | Robert Brewer <fumanchu@aminus.org> | 2009-06-02 06:18:46 +0000 |
commit | 24eeeaa5f4564b624e71474db8ac88dda4def909 (patch) | |
tree | 20287f051a0be071e379fc92e1dfe212711e6afe /cherrypy/process/plugins.py | |
parent | 0e9ba795eaa87227ee6dae164a32286740c185ae (diff) | |
download | cherrypy-git-24eeeaa5f4564b624e71474db8ac88dda4def909.tar.gz |
trunk: A bunch more alignments between trunk and python3 syntax.
Diffstat (limited to 'cherrypy/process/plugins.py')
-rw-r--r-- | cherrypy/process/plugins.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cherrypy/process/plugins.py b/cherrypy/process/plugins.py index ef5afd1c..8d1f2b9f 100644 --- a/cherrypy/process/plugins.py +++ b/cherrypy/process/plugins.py @@ -83,14 +83,14 @@ class SignalHandler(object): self._previous_handlers = {} def subscribe(self): - for sig, func in self.handlers.iteritems(): + for sig, func in self.handlers.items(): try: self.set_handler(sig, func) except ValueError: pass def unsubscribe(self): - for signum, handler in self._previous_handlers.iteritems(): + for signum, handler in self._previous_handlers.items(): signame = self.signals[signum] if handler is None: @@ -546,7 +546,7 @@ class ThreadManager(SimplePlugin): def stop(self): """Release all threads and run all 'stop_thread' listeners.""" - for thread_ident, i in self.threads.iteritems(): + for thread_ident, i in self.threads.items(): self.bus.publish('stop_thread', i) self.threads.clear() graceful = stop |