aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/beuuid.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-08-31 14:19:40 -0400
committerW. Trevor King <wking@drexel.edu>2009-08-31 14:19:40 -0400
commit027cda3613f7a81de557d6dd929d0d4de40192a1 (patch)
tree4c35f4b2b7f6105ab32dff41522b7eb041774d0e /libbe/beuuid.py
parente67058f13ce09ab6870c8bd8ebfa2f198bd06b47 (diff)
downloadbugseverywhere-027cda3613f7a81de557d6dd929d0d4de40192a1.tar.gz
Added docstrings to libbe submodules.
Also a few minor tweaks to the module imports.
Diffstat (limited to 'libbe/beuuid.py')
-rw-r--r--libbe/beuuid.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbe/beuuid.py b/libbe/beuuid.py
index bc47208..490ed62 100644
--- a/libbe/beuuid.py
+++ b/libbe/beuuid.py
@@ -13,6 +13,7 @@
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""
Backwards compatibility support for Python 2.4. Once people give up
on 2.4 ;), the uuid call should be merged into bugdir.py
@@ -20,6 +21,7 @@ on 2.4 ;), the uuid call should be merged into bugdir.py
import unittest
+
try:
from uuid import uuid4 # Python >= 2.5
def uuid_gen():