Exemplo n.º 1
0
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
Exemplo n.º 2
0
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
Exemplo n.º 3
0
 def xmlrpc_pause(self):
     """ Pause downloading """
     from Hellanzb.Daemon import pauseCurrent
     pauseCurrent()
     return self.xmlrpc_status()
Exemplo n.º 4
0
 def xmlrpc_pause(self):
     """ Pause downloading """
     from Hellanzb.Daemon import pauseCurrent
     pauseCurrent()
     return self.xmlrpc_status()