forked from Imagelibrary/littlefs
scripts: Tweaked openio comment
Dang, this touched like every single script.
This commit is contained in:
@@ -78,8 +78,8 @@ L.lex('STUFF', '[^;{}?:,()"\'=!<>\-&|/#]+',
|
||||
'/(?!/)', '/(?!\*)')
|
||||
|
||||
|
||||
# open with '-' for stdin/stdout
|
||||
def openio(path, mode='r', buffering=-1):
|
||||
# allow '-' for stdin/stdout
|
||||
import os
|
||||
if path == '-':
|
||||
if 'r' in mode:
|
||||
|
||||
Reference in New Issue
Block a user