mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 17:16:23 +01:00
Merge pull request #1086 from mcepl/xdg-plugins
Remove duplicate taking care of sys.stderr in babysitter:main.
This commit is contained in:
commit
b119e6311b
@ -205,9 +205,6 @@ def main():
|
||||
sys.stdout = os.fdopen(sys.stdout.fileno(), sys.stdout.mode, 1)
|
||||
sys.stderr = os.fdopen(sys.stderr.fileno(), sys.stderr.mode, 1)
|
||||
|
||||
if not os.isatty(sys.stderr.fileno()):
|
||||
sys.stderr = os.fdopen(sys.stderr.fileno(), sys.stderr.mode, 1)
|
||||
|
||||
sys.exit(run(commandline.Osc()))
|
||||
|
||||
# vim: sw=4 et
|
||||
|
Loading…
Reference in New Issue
Block a user