terminator/terminatorlib/borg.py

15 lines
407 B
Python
Raw Normal View History

#!/usr/bin/python
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""borg.py - We are the borg. Resistance is futile.
http://code.activestate.com/recipes/66531/"""
2009-08-11 22:23:34 +00:00
# pylint: disable-msg=R0903
class Borg:
2009-08-11 22:23:34 +00:00
"""Definition of a class that can never be duplicated"""
__shared_state = {}
def __init__(self):
2009-08-11 22:23:34 +00:00
self.__dict__ = self.__shared_state
2009-08-11 22:23:34 +00:00
# vim: set expandtab ts=4 sw=4: