# -*- coding: utf-8 -*-
#
# This file is subject to the terms and conditions defined in
# file 'LICENSE.txt', which is part of this source code package.
#
"""ProxyWriter class
"""
[docs]class ProxyWriter(object):
def __init__(self):
super(ProxyWriter,self).__init__()
self.writers = []
def __getattribute__(self,name):
writers = object.__getattribute__(self, "writers")
def newfunc(*args, **kwargs):
for w in writers:
res = w.__getattribute__(name)(*args,**kwargs)
return res
return newfunc
[docs]def CheckIntegrity(GUI = False):
return "ok"
if __name__ == '__main__':
print(CheckIntegrity(GUI=True)) # pragma: no cover