~ubuntu-branches/ubuntu/saucy/lazygal/saucy

« back to all changes in this revision

Viewing changes to lazygal/feeds.py

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2010-08-26 14:28:54 UTC
  • mfrom: (1.1.5 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100826142854-131ez5ko2ajoe8tt
Tags: 0.5.1-1
* New upstream version.
  - Fixes problems with PyExiv 0.2.
  - Updates translations.
  - Fixed image-index theme.
* Bump standards to 3.9.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import os, time
20
20
import sys, urllib
21
 
try:
22
 
    # python >= 2.5
23
 
    from xml.etree import cElementTree as ET
24
 
    HAVE_ETREE = True
25
 
except ImportError:
26
 
    try:
27
 
        # python 2.4 external module
28
 
        import cElementTree as ET
29
 
        HAVE_ETREE = True
30
 
    except ImportError:
31
 
        HAVE_ETREE = False
 
21
from xml.etree import cElementTree as ET
32
22
 
33
23
 
34
24
class RSS20: