mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 21:28:42 +02:00
Remove duplicate taking care of sys.stderr in babysitter:main.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user