changeset 323:b7fed7cdc13d

text_x_arnica: ToDo's added
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 20 Dec 2008 07:44:59 +0100
parents 35bf08ec6596
children 760ce9ce6841 277b07479dff
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sat Dec 20 07:42:59 2008 +0100
+++ b/data/plugin/parser/text_x_arnica.py	Sat Dec 20 07:44:59 2008 +0100
@@ -291,6 +291,7 @@
 
     def get_image_alias(self):
         """  gets the quotes from the item list and returns a dictionary of image and alias """
+        # ToDo simplify
         quotes = self.raw.split('\n')
         quotes = [quote.strip() for quote in quotes]
         quotes = [quote[2:] for quote in quotes if quote.startswith('* ')]
@@ -315,6 +316,7 @@
 
         image_alias = self.get_image_alias()
         if self.only_items:
+            # ToDo simplify
             # get the same order of files and aliastext as on the page written
             files = image_alias.keys()
             all_files = [fn for fn in files if wikiutil.isPicture(fn) and
@@ -365,6 +367,7 @@
         image_names = self.arnica_image.keys()
         image_dict = {}
         if self.only_items:
+            # ToDo simplify
             image_alias = self.get_image_alias()
             image_names = image_alias.keys()
             alias_text = image_alias.values()