mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Moaaar debug
This commit is contained in:
parent
4cb6f7fddc
commit
4b14402c5a
2 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,9 @@ class MyMigration(Migration):
|
|||
return returncode == 0
|
||||
|
||||
def runcmd(self, cmd, raise_on_errors=True):
|
||||
|
||||
logger.debug("Running command: " + cmd)
|
||||
|
||||
p = subprocess.Popen(cmd,
|
||||
shell=True,
|
||||
executable='/bin/bash',
|
||||
|
|
|
@ -90,6 +90,9 @@ class MyMigration(Migration):
|
|||
self.runcmd("iptables-legacy-restore < %s" % self.backup_rules_ipv6)
|
||||
|
||||
def runcmd(self, cmd, raise_on_errors=True):
|
||||
|
||||
logger.debug("Running command: " + cmd)
|
||||
|
||||
p = subprocess.Popen(cmd,
|
||||
shell=True,
|
||||
executable='/bin/bash',
|
||||
|
|
Loading…
Add table
Reference in a new issue