[arch-commits] Commit in deluge/trunk (shutdown-fix.patch)
Hugo Doria
hugo at archlinux.org
Tue Dec 2 19:07:41 UTC 2008
Date: Tuesday, December 2, 2008 @ 14:07:40
Author: hugo
Revision: 20333
patch added
Added:
deluge/trunk/shutdown-fix.patch
--------------------+
shutdown-fix.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
Added: shutdown-fix.patch
===================================================================
--- shutdown-fix.patch (rev 0)
+++ shutdown-fix.patch 2008-12-02 19:07:40 UTC (rev 20333)
@@ -0,0 +1,13 @@
+--- component.py 2008-11-23 10:28:01.000000000 +0530
++++ component-patched.py 2008-12-02 02:25:29.619655571 +0530
+@@ -169,7 +169,8 @@
+ for component in self.components.keys():
+ log.debug("Shutting down component %s..", component)
+ try:
+- self.components[component].shutdown()
++ if self.components[component].get_state() != COMPONENT_STATE.index("Stopped"):
++ self.components[component].shutdown()
+ except Exception, e:
+ log.debug("Unable to call shutdown(): %s", e)
+
+
More information about the arch-commits
mailing list