summaryrefslogtreecommitdiff
path: root/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/modules/mapper.py
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2007-02-14 04:19:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:12 -0500
commitb79bf0623235672684d7dd79dd7a6b202adfb35f (patch)
tree3154a686d000b754eb8ff63c25b29d879f8b48e9 /webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/modules/mapper.py
parentecfbc670c2a641b1f18155af0ed9a6e49278185a (diff)
downloadsamba-b79bf0623235672684d7dd79dd7a6b202adfb35f.tar.gz
samba-b79bf0623235672684d7dd79dd7a6b202adfb35f.tar.bz2
samba-b79bf0623235672684d7dd79dd7a6b202adfb35f.zip
r21326: get rid of old qooxdoo version.
(This used to be commit 39a4803ad1046e2473bdc7b22321a5f61ae3a1ea)
Diffstat (limited to 'webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/modules/mapper.py')
-rwxr-xr-xwebapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/modules/mapper.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/modules/mapper.py b/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/modules/mapper.py
deleted file mode 100755
index 8d34450282..0000000000
--- a/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/modules/mapper.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python
-
-table = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
-
-def convert(current):
- # Possibilities with each character
- # 1: 36 = 36
- # 2: 36*36 = 1296
- # 3: 36*36*36 = 46656
-
- res = ""
- length = len(table) - 1
-
- if current / length > 0:
- res += convert(current / length)
-
- res += table[current % length]
-
- return res