Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(28)  |  Call(28)  |  Derive(0)  |  Import(0)

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/Example_Plugins/PluginCfgExample/PluginCfgExample.py   python-code-snippets(Download)
            self.page_msg.green("data updated.")
        else:
            self.page_msg("Used old data from db.")
 
        # Display the current saved plugin_cfg data

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/EvilEval/EvilEval.py   python-code-snippets(Download)
        if process.killed == True:
            self.page_msg(
                result, process.returncode,
                "Error: subprocess timeout (%.2fsec.>%ssec.)" % (
                    time.time()-start_time, timeout
                )
            )
 
        if process.returncode != 0 and process.returncode != None:
            self.page_msg(result, process.returncode, "subprocess Error!")

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/pygallery/pygallery.py   python-code-snippets(Download)
        self.absolute_base_path = self._get_absolute_path()
        if debug:
            self.page_msg("absolute_path:", self.absolute_base_path)
 
    def lucidFunction(self, function_info):
        """
        if debug:
            self.page_msg(self.request.form)
            self.plugin_cfg.debug()
 
            "base_path": self._get_absolute_path(),
        }
        self.page_msg(context)
        self.templates.write("setup", context)
 
        if debug:
            self.plugin_cfg.debug()
            self.page_msg("self.request.form:", self.request.form)
 
        gallery_name = function_info[0]
                        self.page_msg.green("new gallery path saved.")
 
        self.page_msg(context)
        self.templates.write("gallery_config", context)
 

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/SelfDocu/SelfDocu.py   python-code-snippets(Download)
        object_data = []
        for obj_name in selected_object[1:-1]:
            self.page_msg("1:", obj_name)
            #~ data = {
                #~ "name": obj_name
                continue
 
            self.page_msg(attr_info)
 
            #~ object_data
            #~ context[obj_name] = attr_info
 
        self.page_msg("2:", selected_object[-1])

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/demo_reset_time/demo_reset_time.py   python-code-snippets(Download)
            )[0]["reset_time"]
        except Exception, e:
            self.page_msg("Can't get reset time:", e)
            return
 

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/PluginDownload/PluginDownload.py   python-code-snippets(Download)
        if pluginlist == []:
            # FIXME: Interne Seite sollte das regeln:
            self.page_msg("No external Plugins installed!")
 
        for plugin in pluginlist:
                "Can't get filelist! Is the path '%s' right? (Error: %s)"
            ) % (plugin_path, e)
            self.page_msg(msg)
            return
 
        if filelist == []:
            msg = "No files found! Is the path '%s' right?" % plugin_path
            self.page_msg(msg)

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/phpBBadmin/phpBBadmin.py   python-code-snippets(Download)
    def deleteUsers(self):
        if not self.request.form.has_key("delete_id"):
            self.page_msg("No User selected!")
            return
 
 
        self.page_msg(
            "Delete user '%s' (id %s)." % (user_name, id)
        )
 
 
        self.page_msg(
            "Insert '%s' in disallowed usernames." % (user_name)
        )
 

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/email_organizer/email_organizer.py   python-code-snippets(Download)
 
        self.templates.write("email_auswahl_liste", template_entry)
        self.page_msg( self.request.form )