vavavr00m / boto

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

python 2.4 and revision 1038 of pyami/config.py #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install boto and python 2.4
2. try to do anything with boto

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/usr/local/boto/boto/pyami/startup.py", line 23, in ?
    import boto
  File "/usr/lib/python2.4/site-packages/boto/__init__.py", line 22, in ?
    from boto.pyami.config import Config, BotoConfigLocations
  File "/usr/lib/python2.4/site-packages/boto/pyami/config.py", line 27
    os.path.expanduser('~/.boto') if 'HOME' in os.environ else '']

What version of the product are you using? On what operating system?
Using revision 1039

Please provide any additional information below.
Using the amazon ami sonofmmm
http://developer.amazonwebservices.com/connect/entry!default.jspa?categoryID=101
&externalID=1421

Original issue reported on code.google.com by kbro...@gmail.com on 17 Feb 2009 at 10:37

GoogleCodeExporter commented 9 years ago
That path was added to allow the use of boto in GAE.  I didn't realize that the:

value if condition else other value

idiom in Python was only available in Python 2.5 and later.  I'll have to find
another way to fix that.  I'll get that fixed tonight.

Original comment by Mitch.Ga...@gmail.com on 17 Feb 2009 at 10:49

GoogleCodeExporter commented 9 years ago
Fixed in r1040.

Original comment by Mitch.Ga...@gmail.com on 18 Feb 2009 at 3:07