<|file_name|>basesingleton.py<|end_file_name|><｜fim▁begin｜>'''
Created on Nov 19, 2011

@author: scottporter
'''

class BaseSingleton(object):
    _instance = None
    
    @classmethod
    def <|fim_middle|>(cls):
        if cls._instance is None:
            cls._instance = cls()
            
        return cls._instance<｜fim▁end｜>
get_instance