Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/w/h/WhergBot2.0-HEAD/Plugins/PyMpd/Main.py   WhergBot2.0(Download)
def mpd_disconnect():
	try:
		client.close()
		client.disconnect()
	except Exception as e:

src/p/o/powerline-status-0.0.1/powerline/segments/common.py   powerline-status(Download)
				return
			status = client.status()
			client.close()
			client.disconnect()
			return {

src/p/o/powerline-HEAD/powerline/segments/common.py   powerline(Download)
				return
			status = client.status()
			client.close()
			client.disconnect()
			return {

src/m/p/mpdscripts-HEAD/mpd-random-pl-album.py   mpdscripts(Download)
    else:
        albumlist.playRandomAlbum()
    client.close()
    client.disconnect()
 

src/a/r/artget-HEAD/artget.py   artget(Download)
 
      try:
         self.client.close()
      except (MPDError, IOError):
         # Don't worry, just ignore it, disconnect