~ubuntu-branches/debian/sid/pyro/sid

« back to all changes in this revision

Viewing changes to bin/pyro-esd

  • Committer: Bazaar Package Importer
  • Author(s): Carl Chenet, Carl Chenet, Jakub Wilk
  • Date: 2010-09-14 01:04:28 UTC
  • Revision ID: james.westby@ubuntu.com-20100914010428-02r7p1rzr7jvw94z
Tags: 1:3.9.1-2
[Carl Chenet]
* revert to 3.9.1-1 package because of the development status 
  of the 4.1 package is unsuitable for stable use
  DPMT svn #8557 revision (Closes: #589172) 
* added debian/source
* added debian/source/format
* package is now 3.0 (quilt) source format
* debian/control
  - Bump Standards-Version to 3.9.1

[Jakub Wilk]
* Add ‘XS-Python-Version: >= 2.5’ to prevent bytecompilation with python2.4
  (closes: #589053).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
#############################################################################
 
4
#  
 
5
#       $Id: pyro-esd,v 1.2.2.2 2008/05/05 00:13:03 irmen Exp $
 
6
#       Pyro Event Server Unix Daemon
 
7
#       Author: Jeff Bauer  (jbauer@rubic.com)
 
8
#       This software is released under the MIT software license.
 
9
#
 
10
#       This is part of "Pyro" - Python Remote Objects
 
11
#       which is (c) Irmen de Jong - irmen@users.sourceforge.net
 
12
#
 
13
#############################################################################
 
14
 
 
15
import os, sys
 
16
from Pyro.EventService import Server
 
17
from Pyro.ext.daemonizer import Daemonizer
 
18
 
 
19
class ESD(Daemonizer):
 
20
    def __init__(self):
 
21
        Daemonizer.__init__(self)
 
22
 
 
23
    def main_loop(self):
 
24
        Server.start(sys.argv[1:])
 
25
 
 
26
if __name__ == "__main__":
 
27
    ESD().process_command_line(sys.argv)