Changeset 805


Ignore:
Timestamp:
08/30/11 07:46:40 (14 years ago)
Author:
lgiessmann
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/json/JTM/jtm_tools.lisp ΒΆ

    r804 r805  
    112112                  (get-all-topics revision)))
    113113             (tm-assocs
    114               (xtm-exporter::list-extern-associations :revision revision))
    115                      ;(let ((assocs
    116                      ;(if tm
    117                      ;(delete-if #'(lambda(assoc)
    118                      ;(not (find-item-by-revision assoc revision)))
    119                      ;(associations tm))
    120                      ;(get-all-associations revision))))
    121                      ;(if version-1.1-p
    122                      ;(set-difference
    123                      ;assocs
    124                      ;(loop for top in tm-tops
    125                      ;append (instance-of-associations top :revision revision)))
    126                      ;assocs)))
     114              ;(xtm-exporter::list-extern-associations :revision revision))
     115              (let ((assocs
     116                     (if tm
     117                         (delete-if #'(lambda(assoc)
     118                                        (not (find-item-by-revision assoc revision)))
     119                                    (associations tm))
     120                         (get-all-associations revision))))
     121                (if version-1.1-p
     122                    (set-difference
     123                     assocs
     124                     (loop for top in tm-tops
     125                        append (instance-of-associations top :revision revision)))
     126                    assocs)))
    127127             (prefixes
    128128              (when version-1.1-p
Note: See TracChangeset for help on using the changeset viewer.