CWM Bug: --flatten breakage

Using cwm-1.2.0a1, it appears that --flatten is broken:

$ cat test.n3
@prefix : <http://example.org/#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

[ :p :q, _:r, "r" ] .
("a" "b" "c") a :List .
{ ?p ?q ?r } a :Formula .

# EOF

$ cwm test.n3 --flatten
#Processed by Id: cwm.py,v 1.189 2006/08/02 16:59:14 syosi Exp
        Traceback (most recent call last):
  File "/usr/local/bin/cwm", line 740, in <module>
    doCommand()
  File "/usr/local/bin/cwm", line 662, in doCommand
    workingContext = reify.flatten(workingContext)
  File ".../python2.5/site-packages/swap/reify.py", line 223, in flatten
    tempformula.declareUniversal(var)
  File ".../python2.5/site-packages/swap/formula.py", line 210, in
declareUniversal
    """)
RuntimeError: We have now disallowed the calling of declareUniversal.
For future reference, use newUniversal

Thanks,

-- 
Sean B. Palmer, http://inamidst.com/sbp/

Received on Saturday, 13 October 2007 12:59:26 UTC