import os, sys
from AbstractService import AbstractBase


class RegisteredImplementation(object):

    def load(self, input):
        return input.read()

    def save(self, output, data):
        return output.write(data)

AbstractBase.register(RegisteredImplementation)

if __name__ == '__main__':
    print 'Subclass:', issubclass(RegisteredImplementation, AbstractBase)
    print 'Instance:', isinstance(RegisteredImplementation(), AbstractBase)
    print "Current",os.getcwd()
    # s = super(RegisteredImplementation, self).load()

2263607efdf6a8761b4151fd287f3d5133c4f417
import os, sys
from AbstractService import AbstractBase


class RegisteredImplementation(object):

    def load(self, input):
        return input.read()

    def save(self, output, data):
        return output.write(data)

AbstractBase.register(RegisteredImplementation)

if __name__ == '__main__':
    print 'Subclass:', issubclass(RegisteredImplementation, AbstractBase)
    print 'Instance:', isinstance(RegisteredImplementation(), AbstractBase)
    print "Current",os.getcwd()
    # s = super(RegisteredImplementation, self).load()
