viewgit/index.php:465 Only variables should be passed by reference [2048]

viewgit/index.php:466 Non-static method GeSHi::get_language_name_from_extension() should not be called statically [2048]

  1. #
  2. # -*- coding: utf-8
  3. #
  4. # Movie Manager application for Facebook
  5. #
  6.  
  7. from google.appengine.ext import webapp
  8. from google.appengine.ext.webapp.util import run_wsgi_app
  9. from pages import MainPage, AddMoviePage
  10.  
  11. # Default routes for the application
  12. routes = [
  13. (r'/', MainPage),
  14. (r'/movie/new/', AddMoviePage),
  15. ]
  16.  
  17. # Application
  18. application = webapp.WSGIApplication(routes, debug = True)
  19.  
  20. # Create a main() method so this script will be cached in
  21. # memory by google
  22. def main():
  23. run_wsgi_app(application)
  24.  
  25. # Start it!
  26. if __name__ == "__main__":
  27. main()