projects
/
meabook
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3d634
)
added constants module
author
Max Usachev
<maxusachev@gmail.com>
Sat, 19 Jun 2010 07:42:38 +0000
(10:42 +0300)
committer
Max Usachev
<maxusachev@gmail.com>
Sat, 19 Jun 2010 07:42:38 +0000
(10:42 +0300)
constants.py
[new file with mode: 0644]
patch
|
blob
diff --git a/constants.py
b/constants.py
new file mode 100644
(file)
index 0000000..
57af873
--- /dev/null
+++ b/
constants.py
@@ -0,0
+1,8
@@
+# item types
+TYPE_DIRECTORY = 'd'
+TYPE_FILE = 'f'
+
+# fields
+FIELD_TOPLEVEL = 'o'
+FIELD_MIDDLELEVEL = 'ou'
+FIELD_LOWLEVEL = 'cn'