Browse Source

misc fixes

master
dave 4 years ago
parent
commit
f3f6ea1525
  1. 1
      .gitignore
  2. 2
      examples/ping.py
  3. 1
      requirements.txt

1
.gitignore

@ -3,3 +3,4 @@ dist/
msgbus.egg-info/
testenv/
__pycache__
.DS_Store

2
examples/ping.py

@ -41,7 +41,7 @@ def main():
parser.add_argument("-m", "--mode", choices=["ping", "pong"], required=True, help="client mode")
parser.add_argument("--payload", default="hello", help="ping payload")
parser.add_argument("-c", "--count", type=int, default=5, help="how many pings")
parser.add_argument("--interval", type=int, default=1, help="ping interval")
parser.add_argument("--interval", type=float, default=1, help="ping interval")
args = parser.parse_args()
if args.mode == "ping":

1
requirements.txt

@ -1,2 +1 @@
pkg-resources==0.0.0
pyzmq==16.0.2

Loading…
Cancel
Save