Changeset 1552

Show
Ignore:
Timestamp:
06/14/08 16:50:04 (4 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r1551 r1552  
    112008-06-14  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * contrib/05to06.py (Syntax._process_entry): Fixes conversion 
     4        issue. Imported from Debian (by Gunnar Wolf). 
    25 
    36        * Makefile.am (install-data-local): It does not need to create the 
  • cherokee/trunk/contrib/05to06.py

    r632 r1552  
    271271            if not more: break 
    272272 
    273         print "%s!priority = %d" % (prefix, self._vserver_last_priority * 10) 
     273        try: 
     274            priority = self._vserver_last_priority * 10 
     275        except AttributeError: 
     276            self._vserver_last_priority = 1 
     277            priority = 10 
     278        print "%s!priority = %d" % (prefix, priority * 10) 
    274279        self._vserver_last_priority += 1 
    275280