Skip to content
  • Gilles Moris's avatar
    py24: fix thg compatibility with python 2.4 and CentOS 5 · c8060a9b71b5
    Gilles Moris authored
    First I have replaced control statement that are invalid in py24:
    - try ... except ... finally only appears in py25
    - yield is forbidden inside a try ... finally
    
    Then the RPM spec file has been modified so that:
    - the mandatory --vendor option is a nil operation as it use the same
      name as the prefix
    - egg-info is not generated on older platform (typically py2.4)
    
    --HG--
    branch : stable
    c8060a9b71b5