~ubuntu-branches/ubuntu/trusty/glance/trusty

« back to all changes in this revision

Viewing changes to glance/cmd/cache_cleaner.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, James Page
  • Date: 2013-09-09 13:06:09 UTC
  • mfrom: (1.1.54)
  • Revision ID: package-import@ubuntu.com-20130909130609-33p9xrv7zu4b5sh7
Tags: 1:2013.2~b3-0ubuntu1
[ Chuck Short ]
* New upstream release. 
* debian/control: Add python-oslo.sphinx as a build 
  dependency.

[ James Page ]
* d/p/*: Refreshed patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
1
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3
2
 
4
3
# Copyright 2010 United States Government as represented by the
43
42
if os.path.exists(os.path.join(possible_topdir, 'glance', '__init__.py')):
44
43
    sys.path.insert(0, possible_topdir)
45
44
 
46
 
from oslo.config import cfg
47
 
 
48
45
from glance.common import config
49
46
from glance.image_cache import cleaner
50
47
from glance.openstack.common import log
51
48
 
52
 
CONF = cfg.CONF
53
 
 
54
49
 
55
50
def main():
56
51
    try: