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