Commit 22faf43b authored by Tanner Prestegard's avatar Tanner Prestegard
Browse files

converting lvalert_admin to use -s to specify server (same as lvalert_send and lvalert_listen)

parent cd6990f4
......@@ -94,7 +94,7 @@ parser = OptionParser(usage=usage)
#username and password
parser.add_option("-a","--username",action="store",type="string",\
help="the username of the publisher or listener" )
parser.add_option("-c","--server",action="store",type="string",\
parser.add_option("-s","--server",action="store",type="string",\
default="lvalert.cgca.uwm.edu", help="the pubsub server" )
parser.add_option("-r","--resource",action="store",type="string",\
default=uuid.uuid4().hex, help="resource to use in JID [default: random]" )
......
......@@ -117,7 +117,7 @@ class PubSub(Iq):
def create_timeout(self,ctimeout):
"""Process session request time out.
:raise FatalClientError:"""
raise FatalClientError("Timeout while tryin to create node")
raise FatalClientError("Timeout while trying to create node")
def create_error(self,ctimeout):
"""Process session request time out.
......@@ -210,7 +210,7 @@ class PubSub(Iq):
def subscribe_timeout(self,ctimeout):
"""Process session request time out.
:raise FatalClientError:"""
raise FatalClientError("Timeout while tryin to subscribe to node")
raise FatalClientError("Timeout while trying to subscribe to node")
def subscribe_error(self,ctimeout):
"""Process session request time out.
......@@ -220,7 +220,7 @@ class PubSub(Iq):
def generic_timeout(self):
"""Process session request time out.
:raise FatalClientError:"""
raise FatalClientError("Timeout while tryin to perform action")
raise FatalClientError("Timeout while trying to perform action")
def generic_error(self,iq):
"""Process session request failure.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment