Changeset 5095 for main/waeup.sirp/trunk


Ignore:
Timestamp:
31 Mar 2010, 00:42:48 (15 years ago)
Author:
uli
Message:

Minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py

    r5086 r5095  
    7575            for x in range(10):
    7676                result += str(random().randint(0, 9))
     77        self._used.append(result)
    7778        return result
    7879
     
    8889        batch.createEntries()
    8990        self._p_changed = True
    90         self.curr_num += 1
    9191
    9292    def getNum(self, prefix):
     
    9898            num += 1
    9999        return num
    100        
     100
    101101class AccessCodePlugin(grok.GlobalUtility):
    102102    grok.name('accesscodes')
Note: See TracChangeset for help on using the changeset viewer.