dabo Commit
Revision 4754
Date: 2008-12-02 13:26:23 -0800 (Tue, 02 Dec 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4754

Changed:
U   trunk/dabo/lib/uuid.py

Log:
Removed FIXME's from uuid.py, which we shouldn't change because it is a 3rd-
party module that we are only including until we can require Python 2.5 and
higher (when uuid.py became part of the standard library).



Diff:
Modified: trunk/dabo/lib/uuid.py
===================================================================
--- trunk/dabo/lib/uuid.py      2008-12-02 17:45:01 UTC (rev 4753)
+++ trunk/dabo/lib/uuid.py      2008-12-02 21:26:23 UTC (rev 4754)
@@ -297,7 +297,6 @@
         ctypes.windll.kernel32.GetSystemDirectoryA(buffer, 300)
         dirs.insert(0, buffer.value.decode('mbcs'))
     except:
-       ### FIXME
         pass
     for dir in dirs:
         try:
@@ -352,7 +351,6 @@
         try:
             lib = ctypes.CDLL(ctypes.util.find_library(libname))
         except:
-               ### FIXME
             continue
         if hasattr(lib, 'uuid_generate_random'):
             _uuid_generate_random = lib.uuid_generate_random
@@ -366,12 +364,10 @@
     try:
         lib = ctypes.windll.rpcrt4
     except:
-       ### FIXME
         lib = None
     _UuidCreate = getattr(lib, 'UuidCreateSequential',
                           getattr(lib, 'UuidCreate', None))
 except:
-       ### FIXME
     pass
 
 def _unixdll_getnode():
@@ -411,7 +407,6 @@
         try:
             _node = getter()
         except:
-               ### FIXME
             continue
         if _node is not None:
             return _node
@@ -465,7 +460,6 @@
         import os
         return UUID(bytes=os.urandom(16), version=4)
     except:
-       ### FIXME
         import random
         bytes = [chr(random.randrange(256)) for i in range(16)]
         return UUID(bytes=bytes, version=4)




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to