]> git.decadent.org.uk Git - dak.git/commit
Prefer the "Borg" pattern over the GoF singleton pattern.
authorChris Lamb <lamby@debian.org>
Sat, 31 Oct 2009 12:23:21 +0000 (12:23 +0000)
committerChris Lamb <lamby@debian.org>
Sat, 31 Oct 2009 23:00:13 +0000 (23:00 +0000)
commitb5da3a8242954873807477980107afb3d5d33876
tree3b28254ec0f83c66cdc7cf26db8b2950afcdf8d5
parentfbcd49ef6c53529a01f0c890ff0132996b386e5c
Prefer the "Borg" pattern over the GoF singleton pattern.

The only visible difference is the lack of object identity between
instances.

Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/config.py
daklib/dbconn.py
daklib/holding.py
daklib/singleton.py [deleted file]
daklib/summarystats.py
daklib/urgencylog.py