diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-04-12 14:47:54 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-04-13 12:14:37 +0200 |
commit | 31cda618ca3c726c6f5f89a52a7da2b8c9663aef (patch) | |
tree | 8cf66c4b4d1d6557ab96c25c2d183411c5cc0629 /support/schema/reloadtestdb.sh | |
parent | e1bf49e03c91d0e102531d07199903c2f7a6d523 (diff) | |
download | aur-31cda618ca3c726c6f5f89a52a7da2b8c9663aef.tar.gz aur-31cda618ca3c726c6f5f89a52a7da2b8c9663aef.tar.xz |
Make "gendummydata.py" Python 3 compliant.
* Transform into valid Python 3.x code using 2to3.
* Change shebang from "/usr/bin/python2" to "/usr/bin/python3".
* Invoke with "python3" instead of "python2" in "reloadtestdb.sh".
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'support/schema/reloadtestdb.sh')
-rwxr-xr-x | support/schema/reloadtestdb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/schema/reloadtestdb.sh b/support/schema/reloadtestdb.sh index 5f26023c..f6a8ae2f 100755 --- a/support/schema/reloadtestdb.sh +++ b/support/schema/reloadtestdb.sh @@ -20,7 +20,7 @@ mysql -h $DB_HOST -u $DB_USER -p$DB_PASS < aur-schema.sql if [ ! -f $DATA_FILE ]; then echo "creating dumy-data..." - python2 gendummydata.py $DATA_FILE + python3 gendummydata.py $DATA_FILE fi echo "loading dummy-data..." |