vavavr00m / boto

Automatically exported from code.google.com/p/boto
1 stars 0 forks source link

boto-2.0b4 doesn't working with Python 2.4.3 #494

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
* boto-2.0b4 doesn't working with Python 2.4.3.
   (new if else syntax)

* Linux version 2.6.18-164.el5 (mockbu...@builder16.centos.org) (gcc
version
4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Sep 3 03:33:56 EDT 2009

* 
http://groups.google.com/group/boto-users/browse_thread/thread/e68ddac02dd55528

* Getting following errors, while running cloudwatch.

--------------------------

get_instance_metrics
  File "build/bdist.linux-i686/egg/boto/__init__.py", line 176, in
connect_cloudwatch
  File "build/bdist.linux-i686/egg/boto/ec2/cloudwatch/__init__.py",
line 145,
in ?
  File
/lib/python2.4/site-packages/boto-2.0b4-py2.4.egg/boto/ec2/cloudwatch/
alarm.py",
line
79
     self.threshold = float(threshold) if threshold is not None else
None
                                        ^
 SyntaxError: invalid syntax 

Original issue reported on code.google.com by sajup...@gmail.com on 8 Mar 2011 at 5:41

GoogleCodeExporter commented 9 years ago
This is a python syntax error and not really related to boto.

Original comment by Mitch.Ga...@gmail.com on 18 Mar 2011 at 9:42