projects
/
cs-p2p-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26ffa1
)
server: indent stuff
author
Adriana Draghici
<adriana008@gmail.com>
Fri, 19 Mar 2010 12:59:24 +0000
(12:59 +0000)
committer
Adriana Draghici
<adriana008@gmail.com>
Fri, 19 Mar 2010 12:59:24 +0000
(12:59 +0000)
bt_comm/server/Server.py
patch
|
blob
|
history
diff --git
a/bt_comm/server/Server.py
b/bt_comm/server/Server.py
index
4da3f7a
..
57e9421
100644
(file)
--- a/
bt_comm/server/Server.py
+++ b/
bt_comm/server/Server.py
@@
-148,11
+148,11
@@
def doServer(ip, port):
class MyDaemon(Daemon):
def run(self, ip, port):
- doServer(ip, port)
-
+ doServer(ip, port)
+
if __name__ == "__main__":
-
if len(sys.argv) == 4:
+ if len(sys.argv) == 4:
daemon = MyDaemon('/tmp/daemon-example.pid', sys.argv[2], int(sys.argv[3]))
if 'start' == sys.argv[1]:
daemon.start()