prewikka/master: Whitespace police.
[email protected] Tue, 30 Jun 2009 10:22:00 +0200 (CEST)
| Newsgroups | gmane.comp.security.ids.prelude.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 400bdb4295654fe6e0e8cd26a15b40a7d7ea47f9 Author: Yoann Vandoorselaere <[email protected]> Date: Thu Jun 11 15:57:31 2009 +0200 Whitespace police. ======================================== prewikka/views/commands.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) ======================================== diff --git a/prewikka/views/commands.py b/prewikka/views/commands.py index 151c02e..17259d4 100644 --- a/prewikka/views/commands.py +++ b/prewikka/views/commands.py @@ -38,17 +38,17 @@ class Command(view.View): view_template = "Command" view_permissions = [ User.PERM_COMMAND ] view_parameters = HostCommandParameters - + def render(self): cmd = self.parameters["command"] - + try: command = self.env.host_commands[cmd] except KeyError: raise Error("Attempt to execute unregistered command '%s'" % cmd) command = command.replace("$host", self.parameters["host"]).split(" ") - + pipe = popen2.Popen4(command) pipe.wait() _______________________________________________ Prelude-cvslog site list [email protected] http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog