mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fixing a few stuff after tests..
This commit is contained in:
parent
6bf80877af
commit
08caf2e07f
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ class MyMigration(Migration):
|
|||
if domain is None or private_key_path is None:
|
||||
try:
|
||||
(domain, private_key_path) = _guess_current_dyndns_domain(dyn_host)
|
||||
#assert "+157" in private_key_path
|
||||
assert "+157" in private_key_path
|
||||
except (MoulinetteError, AssertionError):
|
||||
logger.warning("migrate_tsig_not_needed")
|
||||
return
|
||||
|
@ -63,7 +63,7 @@ class MyMigration(Migration):
|
|||
import traceback
|
||||
from StringIO import StringIO
|
||||
stack = StringIO()
|
||||
traceback.print_exc(file=stack)
|
||||
traceback.print_stack(file=stack)
|
||||
logger.error(stack.getvalue())
|
||||
|
||||
# Migration didn't succeed, so we rollback and raise an exception
|
||||
|
|
Loading…
Add table
Reference in a new issue