From 344e81f48c48d4e0349fa07c88dff7a0601a1842 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 29 Aug 2009 17:00:59 -0500 Subject: mythvantage-system: correct error in grabkey when num inserts isn't defined. --- abs/mv-core/MythVantage-system/PKGBUILD | 2 +- abs/mv-core/MythVantage-system/grabkey.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/abs/mv-core/MythVantage-system/PKGBUILD b/abs/mv-core/MythVantage-system/PKGBUILD index d8b7315..895a5ad 100644 --- a/abs/mv-core/MythVantage-system/PKGBUILD +++ b/abs/mv-core/MythVantage-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=MythVantage-system pkgver=1.0 -pkgrel=10 +pkgrel=11 arch=('i686') MVDIR=$startdir/pkg/usr/MythVantage BINDIR=$startdir/pkg/usr/bin diff --git a/abs/mv-core/MythVantage-system/grabkey.py b/abs/mv-core/MythVantage-system/grabkey.py index b8bc059..66d630b 100755 --- a/abs/mv-core/MythVantage-system/grabkey.py +++ b/abs/mv-core/MythVantage-system/grabkey.py @@ -74,7 +74,9 @@ global keylist global numberlines global numinserts global mbekey +numinserts = 0 readkeyfile() + #print numberlines #print mbekey -- cgit v0.12