Fix the rb-site path in the generated search-cron.conf file.

Review Request #972 — Created Aug. 18, 2009 and submitted

chipx86
Review Board SVN (deprecated)
1181
reviewboard
Fix the rb-site path in the generated search-cron.conf file.

We had a few issues with the generated search-cron.conf file. The first
line contained a missing quote, and on both lines the path to rb-site would
be invalid. We were using __file__ to get the path to rb-site, which no longer
works now that it's a Python module and not a standalone script. We now
generate the proper path depending on whether it's a .exe or a standard Python
file.
Verified that the generated config file was correct.
david
  1. Please submit to both trunk and 1.0.x
    1. I'll add it to the list. Going to start a new branch on GitHub for 1.0.x once we move over. No real point in continuing the one on SVN now.
  2. 
      
Loading...