Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a problem when running the development server on Windows.

The development server was assuming it could invoke the setup.py and
manage.py scripts. This didn't work on Windows. It now invokes python
specifically.

Patch by Hongbin Lu.
Reviewed at http://reviews.reviewboard.org/r/1885/
  • Loading branch information...
commit e7c2cbe987caa3e9fe2b1bfb19fe62ce4f237f17 1 parent 15d4281
Hongbin Lu authored chipx86 committed
Showing with 3 additions and 2 deletions.
  1. +1 −0  AUTHORS
  2. +2 −2 contrib/internal/devserver.py
View
1  AUTHORS
@@ -63,6 +63,7 @@ Contributors:
* Herve Schnitzler
* Hideya OHASHI
* Hiroshi Funai
+ * Hongbin Lu
* Jacob Farkas
* Jamie Scheinblum
* Jeeva Suresh
View
4 contrib/internal/devserver.py
@@ -64,10 +64,10 @@ def main():
# Build ReviewBoard.egg-info if it doesn't already exist
if not os.path.exists('ReviewBoard.egg-info'):
- os.system("./setup.py egg_info")
+ os.system("python ./setup.py egg_info")
# And now just boot up the server
- os.system('./reviewboard/manage.py runserver 0.0.0.0:%s'
+ os.system('python ./reviewboard/manage.py runserver 0.0.0.0:%s'
% server_port)
if __name__ == "__main__":
Please sign in to comment.
Something went wrong with that request. Please try again.