Sfoglia il codice sorgente

Fix plugins after former refactoring

Alois Mahdal 11 anni fa
parent
commit
25bbc2b6f0
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      plugins/dump.py
  2. 1
    1
      plugins/sh.py

+ 1
- 1
plugins/dump.py Vedi File

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

+ 1
- 1
plugins/sh.py Vedi File

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