Update requirements

This commit is contained in:
VirtuBox
2019-10-03 12:58:44 +02:00
parent 204469ae4c
commit 1345ab723d
2 changed files with 12 additions and 3 deletions

View File

@@ -1 +1,10 @@
cement>=2.8.2
cement==2.8.2
pystache>=0.5.4
pynginxconfig>=0.3.4
PyMySQL>=0.9.3
psutil>=5.6.3
sh>=1.12.14
SQLAlchemy>=1.3.8
requests>=2.22.0
distro>=1.4.0
apt-mirror-updater>=6.1

View File

@@ -95,8 +95,8 @@ def setupdomain(self, data):
# Check nginx -t and return status over it
try:
Log.debug(self, "Checking generated nginx conf, please wait...")
FNULL = open('/dev/null', 'w')
subprocess.check_call(["/usr/sbin/nginx", "-t"], stdout=FNULL,
fnull = open('/dev/null', 'w')
subprocess.check_call(["/usr/sbin/nginx", "-t"], stdout=fnull,
stderr=subprocess.STDOUT)
Log.info(self, "[" + Log.ENDC + "Done" + Log.OKBLUE + "]")
except CalledProcessError as e: