summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-10-01 19:39:10 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-10-01 19:39:10 (GMT)
commit98ccc35a989a9b5ac056d5113346e9f979eab88d (patch)
treec8760f566993c51b38e2297294af6b98937e1a6c /abs
parent9567c7d747cd41b035eef2367836f8d41803d550 (diff)
downloadlinhes_pkgbuild-98ccc35a989a9b5ac056d5113346e9f979eab88d.zip
linhes_pkgbuild-98ccc35a989a9b5ac056d5113346e9f979eab88d.tar.gz
linhes_pkgbuild-98ccc35a989a9b5ac056d5113346e9f979eab88d.tar.bz2
LinHES-system: misc_status_config.py: fix logging error
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-system/misc_status_config.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index fddb3a7..6661028 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=8.0
-pkgrel=27
+pkgrel=28
arch=('i686' 'x86_64')
install=system.install
pkgdesc="Everything that makes LinHES an automated system"
@@ -107,7 +107,7 @@ md5sums=('5ee78704cab0e88ec58d1aab821fc1aa'
'f3502bb7c665750da0ecdf6918f7c838'
'b7febd04f64fe21e8cfbb888219b0b31'
'06a628469051237943b7c874f2e29b8a'
- '54ebcc024db2e0ebe8121305d8926767'
+ '8fe86aa9109a285aedce3c8658952bbb'
'45f46d1f9193c8dde18e56369ec29a1e'
'145b1da6ce501b3ce38ea415a576bf2d'
'116b0f62ed4e8dd6e437930deeb6e49e'
diff --git a/abs/core/LinHES-system/misc_status_config.py b/abs/core/LinHES-system/misc_status_config.py
index cc82534..c9b8637 100755
--- a/abs/core/LinHES-system/misc_status_config.py
+++ b/abs/core/LinHES-system/misc_status_config.py
@@ -6,6 +6,7 @@ from socket import gethostname
from MythTV import MythDB
mythdb = MythDB()
localhostname = gethostname()
+import sys
# Function to set db setting. This setting is set in mythtv-setup.
def dbSettingChange():
@@ -23,7 +24,7 @@ file_name = "/etc/systemconfig"
try:
config_file = open(file_name)
except:
- logging.critical("%s could not be opened", file_name)
+ print file_name + " could not be opened"
sys.exit(1)
for line in config_file: