Skip to content
Browse files

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

  • Loading branch information...
1 parent 54a3a1b commit ea1ae1bfb65374e0e6a4a77b98f1fedbde81cb24 @mattdeboard committed May 7, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 srchupdate.py
View
3 srchupdate.py
@@ -22,8 +22,7 @@ def update():
'www-data:www-data', whoosh_dir])
apachereload = subprocess.call(['sudo',
'/etc/init.d/apache2', 'force-reload'])
- if sum(mattwhoosh, mattwhooshfiles, update_index, apachewhsh,
- apachewhsh2, apachereload) == 0:
+ if sum(mattwhoosh, update_index, apachewhsh, apachereload) == 0:
logging.info('Index successfully updated.')
logging.error('The following exit codes were returned:')
logging.error('- mattwhoosh: %s' % mattwhoosh)

0 comments on commit ea1ae1b

Please sign in to comment.
Something went wrong with that request. Please try again.