Merge branch 'bug_671_python_update' into experimental
authorghost <andreas.monzner@multimedia-labs.de>
Tue, 13 Sep 2011 15:04:26 +0000 (17:04 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Tue, 13 Sep 2011 15:04:26 +0000 (17:04 +0200)
lib/python/Plugins/SystemPlugins/Hotplug/plugin.py

index 21b214a..e26a93c 100644 (file)
@@ -256,6 +256,8 @@ def autostart(reason, **kwargs):
                                        self.__lock.release()
 
                        netlink = Netlink()
+                       if bdpoll is not None:
+                               bdpoll.running = False
                        bdpoll = BDPoll()
                        for blockdev, removable, is_cdrom, medium_found in harddiskmanager.devices_scanned_on_init:
                                if removable or is_cdrom: