[Groonga-commit] groonga/groonga at f6ddcb4 [master] doc update-example: add missing "global"

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 13 12:44:02 JST 2016


Kouhei Sutou	2016-10-13 12:44:02 +0900 (Thu, 13 Oct 2016)

  New Revision: f6ddcb40adf494cde96b8f8a86fa5d42249e5082
  https://github.com/groonga/groonga/commit/f6ddcb40adf494cde96b8f8a86fa5d42249e5082

  Message:
    doc update-example: add missing "global"

  Modified files:
    doc/update_execution_example.py

  Modified: doc/update_execution_example.py (+1 -0)
===================================================================
--- doc/update_execution_example.py    2016-10-13 00:03:37 +0900 (96ad174)
+++ doc/update_execution_example.py    2016-10-13 12:44:02 +0900 (d1ea677)
@@ -203,6 +203,7 @@ def readfile(fname, outflag):
           database_name = cmd[cmd.index(":")+1:].strip()
           reconnect(database_name)
         elif cmd.startswith('.. log:'):
+          global output_log
           log_value = cmd[cmd.index(":")+1:].strip()
           output_log = log_value == "true"
         elif cmd.startswith('.. include:: '):
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index