~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/scripts/garbo.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 18:59:36 UTC
  • mfrom: (14645.1.1 typos)
  • Revision ID: launchpad@pqm.canonical.com-20120106185936-c36ko9sfri1s2lkd
[r=bac][no-qa] Fix a slew of typos.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1182
1182
 
1183
1183
            loop_logger = self.get_loop_logger(loop_name)
1184
1184
 
1185
 
            # Aquire a lock for the task. Multiple garbo processes
 
1185
            # Acquire a lock for the task. Multiple garbo processes
1186
1186
            # might be running simultaneously.
1187
1187
            loop_lock_path = os.path.join(
1188
1188
                LOCK_PATH, 'launchpad-garbo-%s.lock' % loop_name)
1190
1190
            loop_lock = GlobalLock(loop_lock_path, logger=None)
1191
1191
            try:
1192
1192
                loop_lock.acquire()
1193
 
                loop_logger.debug("Aquired lock %s.", loop_lock_path)
 
1193
                loop_logger.debug("Acquired lock %s.", loop_lock_path)
1194
1194
            except LockAlreadyAcquired:
1195
1195
                # If the lock cannot be acquired, but we have plenty
1196
1196
                # of time remaining, just put the task back to the