Browse Source

Fix plugins after former refactoring

Alois Mahdal 10 years ago
parent
commit
25bbc2b6f0
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      plugins/dump.py
  2. 1
    1
      plugins/sh.py

+ 1
- 1
plugins/dump.py View File

@@ -6,5 +6,5 @@ import sardine
6 6
 class Plugin(sardine.BasePlugin):
7 7
 
8 8
     def render_plain(self):
9
-        out = "args = %s" % repr(self.args)
9
+        out = "args = %s" % repr(self.data.args)
10 10
         return out

+ 1
- 1
plugins/sh.py View File

@@ -8,4 +8,4 @@ import sardine
8 8
 class Plugin(sardine.BasePlugin):
9 9
 
10 10
     def render_plain(self):
11
-        return subprocess.check_output(self.args)
11
+        return subprocess.check_output(self.data.args)