From 86637fb7ad65402df668dffa217a580962663dc7 Mon Sep 17 00:00:00 2001 From: Mariana Marasoiu Date: Sun, 7 Aug 2011 13:32:10 +0300 Subject: [PATCH] delete database initialization lines from log_parser --- ppf/log-parser-mysql/libtorrent/log_parser | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ppf/log-parser-mysql/libtorrent/log_parser b/ppf/log-parser-mysql/libtorrent/log_parser index f25b9f0..39f9199 100755 --- a/ppf/log-parser-mysql/libtorrent/log_parser +++ b/ppf/log-parser-mysql/libtorrent/log_parser @@ -11,11 +11,6 @@ if [ $# -lt 2 ]; then exit 1 fi -# if clause to be comented before final use -#if test -d $DIR_ARCHIVE/temp; then -# echo -e "Skipping extraction...\n" -#else - # remove temp folder in case it exists rm -Rf $DIR_ARCHIVE/temp @@ -26,15 +21,6 @@ echo -e "Extracting archive...\n" tar --transform='s,^,temp/,' -xzf "$ARCHIVE" echo -e "Archive extracted successfully.\n" popd -#fi - -# create database -pushd $DIR_LOCAL/../../db-mysql -$DIR_LOCAL/../../db-mysql/db_init $DB_NAME - -#fill database with test data -PYTHONPATH=$DIR_LOCAL/../../db-mysql/ python DatabaseAccess.py $DB_NAME -popd # fill logging information echo -e "Parsing log files. \n" -- 2.20.1