diff --git a/Documentation/Scripts/generateExamples.py b/Documentation/Scripts/generateExamples.py index e971e65be8..3e1982a496 100644 --- a/Documentation/Scripts/generateExamples.py +++ b/Documentation/Scripts/generateExamples.py @@ -327,7 +327,7 @@ def generateArangoshOutput(): print "%s" % l[0] else: print "XXX = %s" % l[0] - print "print(XXX);" + print "if (XXX !== undefined) {print(XXX);}" print "} catch (err) { print(err); }" print "var output = internal.stopCaptureMode();";