[Debtags-commits] [svn] r712 - in libdebtags/trunk: . swig/python
Enrico Zini
debtags-commits@lists.alioth.debian.org
Sat, 07 May 2005 20:28:26 +0000
Author: enrico
Date: Sat May 7 20:28:26 2005
New Revision: 712
Added:
libdebtags/trunk/swig/python/_Debtags.so (contents, props changed)
Modified:
libdebtags/trunk/ (props changed)
libdebtags/trunk/swig/python/test.py
Log:
r2891@viaza: enrico | 2005-05-06 14:05:19 +0200
Tidy the python bindings slightly
Modified: libdebtags/trunk/swig/python/test.py
==============================================================================
--- libdebtags/trunk/swig/python/test.py (original)
+++ libdebtags/trunk/swig/python/test.py Sat May 7 20:28:26 2005
@@ -7,8 +7,8 @@
#voc = Debtags.Vocabulary("/var/lib/debtags/vocabulary", "/var/lib/debtags/vocabulary.idx")
#if voc.hasFacet("accessibility"):
# print "hasFacet ok"
-print "Tags:"
+print "Facets:"
for a in voc.getFacets().getIterable():
print "%s: %s %s" % (a.name(), a.field("Status"), a.field("Nature"))