def handleIOError(ioe): if ioe.errno == 28: if not Hellanzb.downloadPaused: error('No space left on device!') pauseCurrent() notify('Error', 'hellanzb Download Paused', 'No space left on device!', True) raise OutOfDiskSpace('LOL BURN SOME DVDS LOL') else: debug('handleIOError: got: %s' % str(ioe)) raise
def xmlrpc_pause(self): """ Pause downloading """ from Hellanzb.Daemon import pauseCurrent pauseCurrent() return self.xmlrpc_status()