File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class GetFileJob(Job):
9292 argc = 1
9393
9494 def output (self ):
95- return BytesIO ( open (self .args [0 ], "rb" ). read () )
95+ return open (self .args [0 ], "rb" )
9696
9797
9898class WhoAmIJob (Job ):
Original file line number Diff line number Diff line change 1515# Set up logging; pass LOG_LEVEL=DEBUG if needed for local testing
1616logger = logging .getLogger ()
1717logger .setLevel (getattr (logging , os .getenv ("LOG_LEVEL" , "WARNING" ).upper ()))
18- formatter = logging .Formatter (
19- "%(asctime)s.%(msecs)d - %(levelname)s - %(name)s - %(message)s"
20- )
18+ format_str = "%(asctime)s.%(msecs)03.0f - %(levelname)s - %(name)s - %(message)s"
19+ formatter = logging .Formatter (format_str )
2120handler = logging .StreamHandler (sys .stdout )
2221handler .setFormatter (formatter )
2322logger .handlers = []
You can’t perform that action at this time.
0 commit comments