Skip to content

Commit

Permalink
Merge branch 'master' of http://github.com/cherokee/webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
skinkie committed Jan 18, 2013
2 parents 304150b + 7762e32 commit 40e1b78
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions admin/wizards/django.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ def Commit_VServer (self):
# Analize Django config file # Analize Django config file
media_web_dir = django_figure_media_prefix (django_dir) media_web_dir = django_figure_media_prefix (django_dir)


# Python # Python 2
python_bin = path_find_binary (['python', 'python*'], default="python") # (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 # Add the new rules
config = CONFIG_VSERVER %(locals()) config = CONFIG_VSERVER %(locals())
Expand Down Expand Up @@ -139,8 +140,9 @@ def Commit_Rule (self):
src_port = cfg_source_find_free_port () src_port = cfg_source_find_free_port ()
src_num, src_pre = cfg_source_get_next () src_num, src_pre = cfg_source_get_next ()


# Python # Python 2
python_bin = path_find_binary (['python', 'python*'], default="python") # (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 # Add the new rules
config = CONFIG_DIR %(locals()) config = CONFIG_DIR %(locals())
Expand Down
4 changes: 2 additions & 2 deletions cherokee/Makefile.am
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ errors.h \
errors_defs.h errors_defs.h


errors.h: errors.py error_list.py errors.h: errors.py error_list.py
python errors.py --errors $@ $(PYTHON) errors.py --errors $@


errors_defs.h: errors.py error_list.py errors_defs.h: errors.py error_list.py
python errors.py --defines $@ $(PYTHON) errors.py --defines $@




# #
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile.am
Original file line number Original file line Diff line number Diff line change
@@ -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 SUFFIXES = .txt .html


Expand Down
2 changes: 1 addition & 1 deletion doc/build/build_web.sh
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh


# Layout for cherokee-project.com # 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 for i in ../*.txt
do do
Expand Down

0 comments on commit 40e1b78

Please sign in to comment.