Changeset 5584


Ignore:
Timestamp:
Apr 23, 2009, 9:04:58 PM (8 years ago)
Author:
dgc
Message:

Use XML parser instead of HTML to fix potential collision with other plugins.

Location:
gridflowplugin/0.11
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gridflowplugin/0.11/gridflow/gridflow.py

    r5473 r5584  
    271271        tickets = []
    272272
    273         copy = genshi.HTML(html)
     273        copy = genshi.XML(html)
    274274        nodes = genshi.path.Path('//td[contains(@class, "ticket")]//a/text()')
    275275        tickets += [int(a[1][1:]) for a in nodes.select(copy)]
    276276
    277         copy = genshi.HTML(html)
     277        copy = genshi.XML(html)
    278278        nodes = genshi.path.Path('//td[contains(@class, "id")]//a/text()')
    279279        tickets += [int(a[1][1:]) for a in nodes.select(copy)]
    280280
    281         copy = genshi.HTML(html);
     281        copy = genshi.XML(html);
    282282        tktDict = {}
    283283        for tno in tickets:
  • gridflowplugin/0.11/setup.py

    r5473 r5584  
    55setup(
    66    name='GridFlow',
    7     version='0.11.1',
     7    version='0.11.2',
    88    description='Invoke workflows directly from report and query results',
    99    author='David Champion',
Note: See TracChangeset for help on using the changeset viewer.