Changeset 180


Ignore:
Timestamp:
07/11/07 11:46:58 (14 years ago)
Author:
bas
Message:

delete_spam.py.in:

  • Deleted code for trac version 0.8
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/delete_spam.py.in

    r137 r180  
    4343import ConfigParser
    4444
    45 trac_default_version = 0.9
     45trac_default_version = 0.10
    4646
    4747def ReadConfig(file, name):
     
    205205                version = trac_default_version
    206206
    207         if version == 0.8:
    208                 from trac.Environment import Environment
    209                 from trac import util
    210         else:
    211                 from trac.env import Environment
    212                 from trac.ticket import Ticket
    213                 from trac import util
     207        from trac.env import Environment
     208        from trac.ticket import Ticket
     209        from trac import util
    214210
    215211        if version == 0.10:
     
    219215        elif version == 0.9:
    220216                old_delete_spam(settings['project'], int(settings['debug']))
    221         elif version == 0.8:
    222                 old_delete_spam(settings['project'], int(settings['debug']))
    223217
    224218        print 'Spam is deleted succesfully..'
Note: See TracChangeset for help on using the changeset viewer.