~ubuntu-branches/ubuntu/trusty/swift/trusty-updates

« back to all changes in this revision

Viewing changes to bin/swift-recon-cron

  • Committer: Package Import Robot
  • Author(s): Chuck Short, James Page, Chuck Short
  • Date: 2013-08-13 10:37:13 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20130813103713-1ctbx4zifyljs2aq
Tags: 1.9.1-0ubuntu1
[ James Page ]
* d/control: Update VCS fields for new branch locations.

[ Chuck Short ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
import os
7
7
import sys
8
8
from ConfigParser import ConfigParser
 
9
from gettext import gettext as _
 
10
 
9
11
from swift.common.utils import get_logger, dump_recon_cache
10
12
 
11
13
 
43
45
    try:
44
46
        os.mkdir(lock_dir)
45
47
    except OSError as e:
46
 
        logger.critical(_(str(e)))
 
48
        logger.critical(str(e))
47
49
        print str(e)
48
50
        sys.exit(1)
49
51
    try: