Browse files

Merge pull request #61 from kallisti5/master

Fix a few missed python calls
  • Loading branch information...
2 parents b4726f0 + 43928d8 commit 3b4a147c038e451bf26e5c8e0c67d5309881c1b4 @skinkie skinkie committed Jan 17, 2013
Showing with 8 additions and 6 deletions.
  1. +6 −4 admin/wizards/django.py
  2. +1 −1 doc/Makefile.am
  3. +1 −1 doc/build/build_web.sh
View
10 admin/wizards/django.py
@@ -108,8 +108,9 @@ def Commit_VServer (self):
# Analize Django config file
media_web_dir = django_figure_media_prefix (django_dir)
- # Python
- python_bin = path_find_binary (['python', 'python*'], default="python")
+ # Python 2
+ # (When Django supports python3, this should be updated. Django 1.5?)
+ python_bin = path_find_binary (['python2', 'python', 'python*'], default="python2")
# Add the new rules
config = CONFIG_VSERVER %(locals())
@@ -139,8 +140,9 @@ def Commit_Rule (self):
src_port = cfg_source_find_free_port ()
src_num, src_pre = cfg_source_get_next ()
- # Python
- python_bin = path_find_binary (['python', 'python*'], default="python")
+ # Python 2
+ # (When Django supports python3, this should be updated. Django 1.5?)
+ python_bin = path_find_binary (['python2', 'python', 'python*'], default="python2")
# Add the new rules
config = CONFIG_DIR %(locals())
View
2 doc/Makefile.am
@@ -1,4 +1,4 @@
-ASCIIDOC=python $(top_srcdir)/doc/build/asciidoc.py --conf-file=$(top_srcdir)/doc/build/doc.conf
+ASCIIDOC=$(PYTHON) $(top_srcdir)/doc/build/asciidoc.py --conf-file=$(top_srcdir)/doc/build/doc.conf
SUFFIXES = .txt .html
View
2 doc/build/build_web.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Layout for cherokee-project.com
-ASCIIDOC_HTML="python asciidoc.py --conf-file=web.conf"
+ASCIIDOC_HTML="python2 asciidoc.py --conf-file=web.conf"
for i in ../*.txt
do

0 comments on commit 3b4a147

Please sign in to comment.