Skip to content

Commit

Permalink
[core] Revise 1f7c6f8 to help downstream merger (possibly)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkf committed May 26, 2023
1 parent 2389c7c commit b8a86dc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions youtube_dl/YoutubeDL.py
Original file line number Diff line number Diff line change
Expand Up @@ -2374,11 +2374,10 @@ def print_debug_header(self):
self.get_encoding()))
write_string(encoding_str, encoding=None)

writeln_debug = lambda *s: self._write_string('[debug] %s\n' % (''.join(s), ))

writeln_debug('youtube-dl version ', __version__, (' (single file build)' if ytdl_is_updateable() else ''))
self._write_string('[debug] youtube-dl version ' + __version__ + (' (single file build)\n' if ytdl_is_updateable() else '\n'))
if _LAZY_LOADER:
writeln_debug('Lazy loading extractors enabled')
self._write_string('[debug] Lazy loading extractors enabled\n')
writeln_debug = lambda *s: self._write_string('[debug] %s\n' % (''.join(s), )) # moved down for easier merge
try:
sp = subprocess.Popen(
['git', 'rev-parse', '--short', 'HEAD'],
Expand Down

0 comments on commit b8a86dc

Please sign in to comment.