Skip to content
Browse files

Conver tabs to spaces and fix indentation errors.

  • Loading branch information...
1 parent fd63886 commit 9c6a04ad61d955ab49626bb271f04d5839e7bff7 @abhinav-upadhyay committed Dec 25, 2012
Showing with 10 additions and 10 deletions.
  1. +10 −10 tests/mturk/_init_environment.py
View
20 tests/mturk/_init_environment.py
@@ -11,18 +11,18 @@
def config_environment():
global SetHostMTurkConnection
try:
- local = os.path.join(os.path.dirname(__file__), 'local.py')
- execfile(local)
+ local = os.path.join(os.path.dirname(__file__), 'local.py')
+ execfile(local)
except:
- pass
+ pass
if live_connection:
- #TODO: you must set the auth credentials to something valid
- from boto.mturk.connection import MTurkConnection
+ #TODO: you must set the auth credentials to something valid
+ from boto.mturk.connection import MTurkConnection
else:
- # Here the credentials must be set, but it doesn't matter what
- # they're set to.
- os.environ.setdefault('AWS_ACCESS_KEY_ID', 'foo')
- os.environ.setdefault('AWS_SECRET_ACCESS_KEY', 'bar')
- from mocks import MTurkConnection
+ # Here the credentials must be set, but it doesn't matter what
+ # they're set to.
+ os.environ.setdefault('AWS_ACCESS_KEY_ID', 'foo')
+ os.environ.setdefault('AWS_SECRET_ACCESS_KEY', 'bar')
+ from mocks import MTurkConnection
SetHostMTurkConnection = functools.partial(MTurkConnection, host=mturk_host)

0 comments on commit 9c6a04a

Please sign in to comment.
Something went wrong with that request. Please try again.