~ubuntu-branches/ubuntu/trusty/heat/trusty-security

« back to all changes in this revision

Viewing changes to bin/heat-watch

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Yolanda Robla, Chuck Short
  • Date: 2013-07-22 16:22:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130722162229-zzvfu40id94ii0hc
Tags: 2013.2~b2-0ubuntu1
[ Yolanda Robla ]
* debian/tests: added autopkg tests

[ Chuck Short ]
* New upstream release
* debian/control:
  - Add python-pbr to build-depends.
  - Add python-d2to to build-depends.
  - Dropped python-argparse.
  - Add python-six to build-depends.
  - Dropped python-sendfile.
  - Dropped python-nose.
  - Added testrepository.
  - Added python-testtools.
* debian/rules: Run testrepository instead of nosetets.
* debian/patches/removes-lxml-version-limitation-from-pip-requires.patch: Dropped
  no longer needed.
* debian/patches/fix-package-version-detection-when-building-doc.patch: Dropped
  no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
It is a convenience application that talks to the heat Cloudwatch API server.
21
21
"""
22
22
 
23
 
import gettext
24
23
import optparse
25
24
import os
26
25
import os.path
38
37
 
39
38
scriptname = os.path.basename(sys.argv[0])
40
39
 
41
 
gettext.install('heat', unicode=1)
 
40
from heat.openstack.common import gettextutils
 
41
 
 
42
gettextutils.install('heat')
42
43
 
43
44
from heat.cfn_client import boto_client_cloudwatch as heat_client
44
45
from heat.version import version_info as version
45
 
from heat.common import config
46
46
from heat.common import exception
47
47
from heat.cfn_client import utils
48
48
 
271
271
        sys.exit(result)
272
272
    except (RuntimeError,
273
273
            NotImplementedError,
274
 
            exception.ClientConfigurationError), ex:
 
274
            exception.ClientConfigurationError) as ex:
275
275
        oparser.print_usage()
276
276
        logging.error("ERROR: %s" % ex)
277
277
        sys.exit(1)