From ab3ae58591e21a080d9341b9a6a7ae0f56ae9937 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Wed, 5 Mar 2014 17:22:29 +0000
Subject: fixed luasql import error


diff --git a/rhnop-client/db.lua b/rhnop-client/db.lua
index 17e91f1..18c925a 100644
--- a/rhnop-client/db.lua
+++ b/rhnop-client/db.lua
@@ -19,7 +19,7 @@
 --  along with rhnop. If not, see <http://www.gnu.org/licenses/>.
 --
 
-require "luasql.mysql"
+luasql = require "luasql.mysql"
 
 -- for destination database
 -- CREATE DATABASE nop
diff --git a/rhnop-client/debian/changelog b/rhnop-client/debian/changelog
index b254ef2..2b7ad70 100644
--- a/rhnop-client/debian/changelog
+++ b/rhnop-client/debian/changelog
@@ -1,3 +1,9 @@
+rhnop-client (0.3) UNRELEASED; urgency=low
+
+  * fixed error due to new luasql library version
+
+ -- Christian Pointner <equinox@helsinki.at>  Wed, 05 Mar 2014 18:20:46 +0100
+
 rhnop-client (0.2) unstable; urgency=low
 
   * added nopsysstated
-- 
cgit v0.10.2