forked from Fediversity/Fediversity
use proper logger
This commit is contained in:
parent
8a50680b9f
commit
f87275e384
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ from enum import Enum
|
|||
import json
|
||||
from os.path import expanduser
|
||||
import subprocess
|
||||
import logging
|
||||
import os
|
||||
|
||||
from django.urls import reverse_lazy
|
||||
|
@ -158,5 +159,5 @@ class DeploymentStatus(ConfigurationForm):
|
|||
"-lock=false",
|
||||
]
|
||||
deployment_result = subprocess.run(cmd, cwd=cwd, env=env)
|
||||
print(deployment_result)
|
||||
logging.info(deployment_result)
|
||||
return deployment_result, deployment_params
|
||||
|
|
Loading…
Add table
Reference in a new issue