PluginComponent.py: remove filesystem writeability test
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 25 Mar 2011 15:48:32 +0000 (16:48 +0100)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 29 Mar 2011 13:43:58 +0000 (15:43 +0200)
lib/python/Components/PluginComponent.py

index c6ad584f328f778c05d2ebaba77539695f69c4c9..b06246b25939f4ec4f39810b8292e42ce1534a00 100755 (executable)
@@ -49,7 +49,6 @@ class PluginComponent:
                        directory_category = directory + c
                        if not os_path.isdir(directory_category):
                                continue
                        directory_category = directory + c
                        if not os_path.isdir(directory_category):
                                continue
-                       open(directory_category + "/__init__.py", "a").close()
                        for pluginname in os_listdir(directory_category):
                                path = directory_category + "/" + pluginname
                                if os_path.isdir(path):
                        for pluginname in os_listdir(directory_category):
                                path = directory_category + "/" + pluginname
                                if os_path.isdir(path):