[Starcluster] A small starcluster patch

Justin Riley jtriley at MIT.EDU
Mon Mar 29 14:23:57 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Whoops, sorry meant to send the bit about the mailing list to another
user. I realize you're a part of the mailing list already :D

Thanks again,

~Justin

On 03/29/2010 02:01 PM, Joonas Paalasmaa wrote:
> Hello,
> 
> The patch below fixes a problem that causes the formatting of the
> exception message to fail.
> 
> - Joonas
> 
> 
> 
> diff --git a/starcluster/cluster.py b/starcluster/cluster.py
> index f6bc5ad..d473707 100644
> --- a/starcluster/cluster.py
> +++ b/starcluster/cluster.py
> @@ -716,8 +716,8 @@ $ ssh -i %(key)s %(user)s@%(master)s
>              keypair = conn.get_keypair(KEYNAME)
>          except boto.exception.EC2ResponseError,e:
>              raise exception.ClusterValidationError(
> -                'Account does not contain a key with KEYNAME = %s. ' + \
> -                'Please check your settings' % KEYNAME)
> +                ('Account does not contain a key with KEYNAME = %s. ' +
> +                 'Please check your settings') % KEYNAME)
>          return True
> 
>  if __name__ == "__main__":

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuw8D0ACgkQ4llAkMfDcrmThACdGAid/O7aFlD8zvRFi87/Fi2s
LAgAn21HkOtscdm9XBzM0hd4b7wODd/N
=k0ku
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list