[z3-checkins] r18665 - z3/sqlos/trunk

jinty at codespeak.net jinty at codespeak.net
Sun Oct 16 01:00:36 CEST 2005


Author: jinty
Date: Sun Oct 16 01:00:34 2005
New Revision: 18665

Removed:
   z3/sqlos/trunk/utils.py
Log:
I am nuking utils.py.

If anyone objects, feel free to revert this patch.

Why:
    * A recursive grep shown no calls to the one function in this module in the
      sqlos source.
    * No functional or unit tests fail when it is gone.
    * I have no idea why it is here and svn log does not enlighten me.
    


Deleted: /z3/sqlos/trunk/utils.py
==============================================================================
--- /z3/sqlos/trunk/utils.py	Sun Oct 16 01:00:34 2005
+++ (empty file)
@@ -1,20 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2004 Enfold Systems LLC. All rights reserved.
-#
-# This software is distributed under the terms of the Zope Public
-# License (ZPL) v2.1. See COPYING.txt for more information.
-#
-##############################################################################
-"""
-$Id$
-"""
-
-# XXX - grep shows that this function is not used at all in sqlos, perhaps we
-# should just get rid of this module - jinty
-from zope.app.location import LocationProxy
-from zope.schema.vocabulary import SimpleVocabulary
-
-def fromItems(items, context):
-    vocab = SimpleVocabulary.fromItems(items)
-    return LocationProxy(vocab, context, None)


More information about the z3-checkins mailing list