1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-29 17:34:12 +02:00

Fix whitespace issues in osc.util

This commit is contained in:
2022-09-12 15:40:48 +02:00
parent 824c324dd5
commit 959d054ec8
9 changed files with 87 additions and 51 deletions

View File

@@ -6,6 +6,7 @@ class SafeWriter:
the str is encoded with the "encoding" encoding.
All getattr, setattr calls are passed through to the "writer" instance.
"""
def __init__(self, writer, encoding='unicode_escape'):
self._writer = writer
self._encoding = encoding