File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ def main():
3434 prepare_logging ()
3535 if config .options ['version' ]:
3636 # in version mode, print version and exit
37- logging . info (plat .version )
37+ sys . stdout . write (plat .version + ' \n ' )
3838 if config .options ['debug' ]:
3939 debug_details ()
4040 elif config .options ['help' ]:
4141 # in help mode, print usage and exit
4242 f = open (os .path .join (plat .info_dir , 'USAGE' ))
4343 for line in f :
44- logging . info (line [: - 1 ] )
44+ sys . stdout . write (line )
4545 elif config .options ['convert' ]:
4646 # in converter mode, convert and exit
4747 convert ()
@@ -273,9 +273,9 @@ def debug_details():
273273 for module in modules :
274274 try :
275275 __import__ (module )
276- logging . info ("%s: available" , module )
276+ sys . stdout . write ("%s: available\n " % module )
277277 except ImportError :
278- logging . info ("%s: not available" , module )
278+ sys . stdout . write ("%s: not available\n " % module )
279279
280280if __name__ == "__main__" :
281281 main ()
You can’t perform that action at this time.
0 commit comments