Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Missed a couple spaces in my call() routines, broke my script.

  • Loading branch information...
commit 400880e70c61184256c78deb48f175d3eeb4ac4b 1 parent 7b54f79
@mattdeboard authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 srchupdate.py
View
4 srchupdate.py
@@ -20,9 +20,9 @@ def update():
update_index = subprocess.call([domain_dir+'bin/python',
appdir+'manage.py update_index'])
apachewhsh = subprocess.call(['sudo', 'chown',
- 'www-data:www-data'+whoosh_dir])
+ 'www-data:www-data '+whoosh_dir])
apachewhsh2 = subprocess.call(['sudo', 'chown',
- 'www-data:www-data'+whoosh_dir+'*'])
+ 'www-data:www-data '+whoosh_dir+'*'])
apachereload = subprocess.call(['sudo',
'/etc/init.d/apache2 force-reload'])
if sum(mattwhoosh, mattwhooshfiles, update_index, apachewhsh,
Please sign in to comment.
Something went wrong with that request. Please try again.