From 98ccc35a989a9b5ac056d5113346e9f979eab88d Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 1 Oct 2013 14:39:10 -0500 Subject: LinHES-system: misc_status_config.py: fix logging error --- abs/core/LinHES-system/PKGBUILD | 4 ++-- abs/core/LinHES-system/misc_status_config.py | 3 ++- 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: -- cgit v0.12