Commit 55eb708d authored by Mayoro Diagne's avatar Mayoro Diagne Committed by Julien Muchembled

change order of arguments of setup

parent ef4124d0
...@@ -3,9 +3,9 @@ import sys ...@@ -3,9 +3,9 @@ import sys
import os import os
import MySQLdb import MySQLdb
def setup(args): def setup(args):
base_url, htdocs, renamed, mysql_user, mysql_password, mysql_database, mysql_host = args renamed, mysql_host, mysql_user, mysql_password, mysql_database, base_url, htdocs = args
#base_url, htdocs, renamed, mysql_user, mysql_password, mysql_database, mysql_host = args
sql_file = os.path.join(htdocs, "scripts/phpfin.sql") sql_file = os.path.join(htdocs, "scripts/phpfin.sql")
try: try:
conn = MySQLdb.connect (host = mysql_host, conn = MySQLdb.connect (host = mysql_host,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment