Skip to content
Snippets Groups Projects
Commit abd6a273 authored by Simon Emmert's avatar Simon Emmert Committed by Timo Koch
Browse files

[examples] add python3 catch for examples doc script

parent 2ec60425
No related branches found
No related tags found
1 merge request!2318[examples] add python3 catch for examples doc script
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
import os import os
import json import json
import argparse import argparse
import sys
if sys.version_info[0] < 3:
sys.exit("Python 3 or a more recent version is required.")
from convert_code_to_doc import * from convert_code_to_doc import *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment