Compare commits
No commits in common. "16d0c0dee3746cf77786b1826f93e52c6d68c5cc" and "75b75a1d5577ab74cfaef21b8736234b7b076925" have entirely different histories.
16d0c0dee3
...
75b75a1d55
2 changed files with 0 additions and 4 deletions
|
|
@ -9,8 +9,6 @@ This is a collection of tools that I use often and import into my other projects
|
||||||
|
|
||||||
## Mirrors
|
## Mirrors
|
||||||
|
|
||||||
https://git.voussoir.net/voussoir/voussoirkit
|
|
||||||
|
|
||||||
https://github.com/voussoir/voussoirkit
|
https://github.com/voussoir/voussoirkit
|
||||||
|
|
||||||
https://gitlab.com/voussoir/voussoirkit
|
https://gitlab.com/voussoir/voussoirkit
|
||||||
|
|
|
||||||
|
|
@ -178,13 +178,11 @@ def output(stream, line, *, end):
|
||||||
stream.flush()
|
stream.flush()
|
||||||
|
|
||||||
def stdout(line='', end='\n'):
|
def stdout(line='', end='\n'):
|
||||||
line = line.replace('\r\n', '\n')
|
|
||||||
# In pythonw, stdout is None.
|
# In pythonw, stdout is None.
|
||||||
if sys.stdout is not None:
|
if sys.stdout is not None:
|
||||||
output(sys.stdout, line, end=end)
|
output(sys.stdout, line, end=end)
|
||||||
|
|
||||||
def stderr(line='', end='\n'):
|
def stderr(line='', end='\n'):
|
||||||
line = line.replace('\r\n', '\n')
|
|
||||||
# In pythonw, stderr is None.
|
# In pythonw, stderr is None.
|
||||||
if sys.stderr is not None:
|
if sys.stderr is not None:
|
||||||
output(sys.stderr, line, end=end)
|
output(sys.stderr, line, end=end)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue