summaryrefslogtreecommitdiff
path: root/py/demo/Ice/session/Client.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-11-15 01:07:48 +0000
committerMark Spruiell <mes@zeroc.com>2005-11-15 01:07:48 +0000
commit9902fb866aa501c844931ec903dbb251fc50464b (patch)
tree9f62cc47751d8ed91e2d948724f3b3caad0f3cab /py/demo/Ice/session/Client.py
parentbug fix for sequence of struct (diff)
downloadice-9902fb866aa501c844931ec903dbb251fc50464b.tar.bz2
ice-9902fb866aa501c844931ec903dbb251fc50464b.tar.xz
ice-9902fb866aa501c844931ec903dbb251fc50464b.zip
minor changes to sync with C++
Diffstat (limited to 'py/demo/Ice/session/Client.py')
-rw-r--r--py/demo/Ice/session/Client.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/py/demo/Ice/session/Client.py b/py/demo/Ice/session/Client.py
index ac3e50f118b..c6bb2ec882f 100644
--- a/py/demo/Ice/session/Client.py
+++ b/py/demo/Ice/session/Client.py
@@ -85,10 +85,11 @@ class Client(Ice.Application):
hello = hellos[index]
hello.sayHello()
else:
- print "index is too high. " + str(len(hellos)) + " exist so far. " +\
- "Use 'c' to create a new hello object."
+ print "Index is too high. " + str(len(hellos)) + " hello objects exist so far.\n" +\
+ "Use `c' to create a new hello object."
elif c == 'c':
hellos.append(session.createHello())
+ print "Created hello object",len(hellos) - 1
elif c == 's':
destroy = False
shutdown = True