mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 22:06:27 +00:00
raise error
This commit is contained in:
parent
0998506f9f
commit
09798cd394
@ -533,6 +533,8 @@ class Manager:
|
|||||||
# We have enough free space, so lets resume this torrent
|
# We have enough free space, so lets resume this torrent
|
||||||
self.resume(unique_ID)
|
self.resume(unique_ID)
|
||||||
else:
|
else:
|
||||||
|
import ui
|
||||||
|
ui.GTKError(_("You're out of HD space! We had to pause at least one torrent"))
|
||||||
print "Not enough free space to resume this torrent!"
|
print "Not enough free space to resume this torrent!"
|
||||||
else: #We're using compact allocation so lets just resume
|
else: #We're using compact allocation so lets just resume
|
||||||
self.resume(unique_ID)
|
self.resume(unique_ID)
|
||||||
@ -835,6 +837,7 @@ class Manager:
|
|||||||
except:
|
except:
|
||||||
print "Error probably bad torrent"
|
print "Error probably bad torrent"
|
||||||
del self.state.torrents[torrent]
|
del self.state.torrents[torrent]
|
||||||
|
raise e
|
||||||
|
|
||||||
ret = unique_ID
|
ret = unique_ID
|
||||||
self.unique_IDs[unique_ID] = torrent
|
self.unique_IDs[unique_ID] = torrent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user