mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-32130 stop printing arguments in code generation tools
This commit is contained in:
parent
84656c3cca
commit
2680f414b5
@ -39,7 +39,6 @@ def jsToHeader(target, source):
|
||||
|
||||
text = '\n'.join(h)
|
||||
|
||||
print "writing: %s" % outFile
|
||||
with open(outFile, 'wb') as out:
|
||||
try:
|
||||
out.write(text)
|
||||
|
@ -1,12 +1,6 @@
|
||||
import sys
|
||||
|
||||
def generate( header, source, language_files ):
|
||||
print( "header: %s" % header )
|
||||
print( "source: %s" % source )
|
||||
print( "language_files:" )
|
||||
for x in language_files:
|
||||
print( "\t%s" % x )
|
||||
|
||||
out = open( header, "wb" )
|
||||
out.write( """
|
||||
#pragma once
|
||||
|
Loading…
Reference in New Issue
Block a user