MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / leaveChan

Function leaveChan

src/bitmessagecli.py:489–508  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

487 main()
488
489def leaveChan():
490 global usrPrompt
491 while True:
492 address = userInput("Enter channel address")
493
494 if (address == "c"):
495 usrPrompt = 1
496 print ' '
497 main()
498 elif (validAddress(address)== False):
499 print '\n Invalid. "c" to cancel. Please try again.\n'
500 else:
501 break
502
503 try:
504 print api.leaveChan(address)
505 except:
506 print '\n Connection Error\n'
507 usrPrompt = 0
508 main()
509
510
511def listAdd(): #Lists all of the addresses and their info

Callers 1

UIFunction · 0.85

Calls 3

userInputFunction · 0.85
validAddressFunction · 0.85
mainFunction · 0.70

Tested by

no test coverage detected