Commits

Anonymous committed 52638b7 Merge

merge

Comments (0)

Files changed (3)

.settings/org.eclipse.core.resources.prefs

-#Fri Feb 05 21:32:36 CET 2010
+#Sun Nov 08 17:24:56 CET 2009
 eclipse.preferences.version=1
 encoding//src/mekk/nozbe2xmind/context_icons.py=UTF-8
+encoding//src/mekk/nozbe2xmind/nozbe.py=utf-8
 encoding//src/mekk/nozbe2xmind/run.py=utf-8
 encoding//src/mekk/nozbe2xmind/run_analysis.py=utf-8
 encoding//src/mekk/nozbe2xmind/xmind_writer.py=utf-8

src/mekk/nozbe2xmind/xmind_reader.py

                     else:
                         print "Unknown context, skipping:", ctx_name
 
-                if not hash:
+                old = None
+                if hash:
+                    old = orig_lkp.get(hash)
+                if not old:
                     # Nowa akcja
                     new['id'] = action_topic.get_correlation_id()
                     if new['done']:
                     #yield None, new
                     added.append(new)
                 else:
-                    old = orig_lkp[ hash ]
                     del orig_lkp[hash]  # By zostały tylko skasowane
                     # Nie przestawiamy daty zakończenia jeśli zachowała się
                     #if new.get('datetime') and old.get('datetime'):

tests/README-FAILING-TESTS.txt

+Tests are currently failing because of some format changes.
+
+To regenerate them, one should recreate example maps: 
+
+- create original.xmind (and original.json) from scratch, downloading it from the website,
+
+- create remaining files via copying the original and performing edits.