~ubuntu-branches/ubuntu/trusty/python-axiom/trusty

« back to all changes in this revision

Viewing changes to axiom/userbase.py

  • Committer: Bazaar Package Importer
  • Author(s): Debian Python Modules Team, Sandro Tosi, Vincent Bernat
  • Date: 2010-01-13 20:38:50 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100113203850-v552yecly7l65dtd
Tags: 0.6.0-1
[ Sandro Tosi ]
* debian/rules
  - don't FTBFS when removing not-existing dirs; thanks to Lucas Nussbaum for
    the report; Closes: #560565

[ Vincent Bernat ]
* New upstream release.
* debian/control
  - don't use obsolete "<" for Conflicts field; use "<<" instead. Closes: #557926.
  - bump Standards-Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
            for x in list(oldAccounts) + list(oldMethods):
197
197
                x.deleteFromStore()
198
198
            self.cloneInto(ss, ss)
199
 
            sched = IScheduler(ss, None)
200
 
            if sched is not None:
201
 
                sched.migrateDown()
 
199
            IScheduler(ss).migrateDown()
202
200
        ss.transact(_)
203
201
 
204
202
    def migrateUp(self):
214
212
            # you're making a mistake. -glyph
215
213
            siteStoreSubRef = siteStore.getItemByID(self.store.idInParent)
216
214
            self.cloneInto(siteStore, siteStoreSubRef)
217
 
            sched = IScheduler(self.store, None)
218
 
            if sched is not None:
219
 
                sched.migrateUp()
 
215
            IScheduler(self.store).migrateUp()
220
216
        siteStore.transact(_)
221
217
 
222
218
    def cloneInto(self, newStore, avatars):