From: Evan Broder Date: Wed, 29 Oct 2008 04:10:12 +0000 (-0400) Subject: Small typo fixes in invirt-update-vnc-cert X-Git-Tag: 0.0.5^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-client.git/commitdiff_plain/0d88c0c9bd61f710cba0a29af49397fbc1c4902c Small typo fixes in invirt-update-vnc-cert svn path=/trunk/packages/invirt-vnc-client/; revision=1418 --- diff --git a/debian/changelog b/debian/changelog index 594c059..6230edc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-vnc-client (0.0.5) unstable; urgency=low + + * Small typo fixes in invirt-update-vnc-cert + + -- Evan Broder Wed, 29 Oct 2008 00:07:55 -0400 + invirt-vnc-client (0.0.4) unstable; urgency=low * Get certificates from remctl, instead of from the filesystems diff --git a/debian/invirt-update-vnc-cert b/debian/invirt-update-vnc-cert index 33db30d..8e634c0 100755 --- a/debian/invirt-update-vnc-cert +++ b/debian/invirt-update-vnc-cert @@ -8,21 +8,20 @@ import sys import shutil def main(): - subprocess.call(['kinit', '-k', 'daemon/%s' % config.web.hostname]) + call(['kinit', '-k', 'daemon/%s' % config.web.hostname]) temp_dir = tempfile.mkdtemp() keystore = os.path.join(temp_dir, 'trust.store') for host in config.hosts: - cert = subprocess.Popen(['remctl', config.remote.hostname, 'web', - 'vnccert', host.hostname], - stdout=PIPE) + cert = Popen(['remctl', config.remote.hostname, 'web', 'vnccert', host.hostname], + stdout=PIPE) cert.wait() - subprocess.call(['keytool', '-import', '-noprompt', '-alias', - host.hostname, '-keystore', keystore, '-storepass', - 'foobar'], stdin=cert.stdout) + call(['keytool', '-import', '-noprompt', '-alias', host.hostname, + '-keystore', keystore, '-storepass', 'foobar'], + stdin=cert.stdout) - subprocess.call(['jar', 'uf', '/usr/share/invirt-vnc-client/VncViewer.jar', - '-C', temp_dir, 'trust.store']) + call(['jar', 'uf', '/usr/share/invirt-vnc-client/VncViewer.jar', + '-C', temp_dir, 'trust.store']) shutil.rmtree(temp_dir)