Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lisa Casino
slapos
Commits
55eb708d
Commit
55eb708d
authored
May 06, 2012
by
Mayoro Diagne
Committed by
Julien Muchembled
Sep 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change order of arguments of setup
parent
ef4124d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
software/phpfin/configure-phpfin.py
software/phpfin/configure-phpfin.py
+2
-2
No files found.
software/phpfin/configure-phpfin.py
View file @
55eb708d
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment