Rev 13: Actually accept a host parameter to share in http://people.ubuntu.com/~robertc/baz2.0/plugins/avahi/trunk

Robert Collins robertc at robertcollins.net
Mon Jul 9 07:01:04 BST 2007


At http://people.ubuntu.com/~robertc/baz2.0/plugins/avahi/trunk

------------------------------------------------------------
revno: 13
revision-id: robertc at robertcollins.net-20070709060104-n4lx2kn4wakin63f
parent: robertc at robertcollins.net-20070708065706-fg4yjrabuv8wn09t
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Mon 2007-07-09 16:01:04 +1000
message:
  Actually accept a host parameter to share
modified:
  __init__.py                    __init__.py-20070323145827-nyq47eb7r7fj9a5v-1
=== modified file '__init__.py'
--- a/__init__.py	2007-07-08 06:57:06 +0000
+++ b/__init__.py	2007-07-09 06:01:04 +0000
@@ -41,7 +41,7 @@
     """Share a tree of branches, and advertise them via mDNS."""
     aliases = ['share']
     takes_args = ['location?']
-    takes_options = [Option('host', help='Server host'),
+    takes_options = [Option('host', help='Server host', type=str),
                      Option('port', help='Server port'),
                      Option('domain', help='DNS-SD domain')]
 




More information about the bazaar-commits mailing list