
from lightcurve_pipeline.database.database_interface import base
from lightcurve_pipeline.utils.utils import SETTINGS

if __name__ == '__main__':

    prompt = 'About to reset database instance {}. '.format(SETTINGS['db_connection_string'])
    prompt += 'Do you wish to proceed? (y/n)'

    response = raw_input(prompt)

    if response.lower() == 'y':
        print 'Resetting database'
        base.metadata.drop_all()
        base.metadata.create_all()


from __future__ import print_function

from lightcurve_pipeline.database.database_interface import base
from lightcurve_pipeline.utils.utils import SETTINGS

if __name__ == '__main__':

    prompt = 'About to reset database instance {}. '.format(SETTINGS['db_connection_string'])
    prompt += 'Do you wish to proceed? (y/n)'

    response = raw_input(prompt)

    if response.lower() == 'y':
        print('Resetting database')
        base.metadata.drop_all()
        base.metadata.create_all()

Change the print statement to use __future__.
Change the print statement to use __future__.

+ 
+ from __future__ import print_function
  
  from lightcurve_pipeline.database.database_interface import base
  from lightcurve_pipeline.utils.utils import SETTINGS
  
  if __name__ == '__main__':
  
      prompt = 'About to reset database instance {}. '.format(SETTINGS['db_connection_string'])
      prompt += 'Do you wish to proceed? (y/n)'
  
      response = raw_input(prompt)
  
      if response.lower() == 'y':
-         print 'Resetting database'
+         print('Resetting database')
          base.metadata.drop_all()
          base.metadata.create_all()
  
Change the print statement to use __future__.
## Code Before:

from lightcurve_pipeline.database.database_interface import base
from lightcurve_pipeline.utils.utils import SETTINGS

if __name__ == '__main__':

    prompt = 'About to reset database instance {}. '.format(SETTINGS['db_connection_string'])
    prompt += 'Do you wish to proceed? (y/n)'

    response = raw_input(prompt)

    if response.lower() == 'y':
        print 'Resetting database'
        base.metadata.drop_all()
        base.metadata.create_all()

## Instruction:
Change the print statement to use __future__.
## Code After:

from __future__ import print_function

from lightcurve_pipeline.database.database_interface import base
from lightcurve_pipeline.utils.utils import SETTINGS

if __name__ == '__main__':

    prompt = 'About to reset database instance {}. '.format(SETTINGS['db_connection_string'])
    prompt += 'Do you wish to proceed? (y/n)'

    response = raw_input(prompt)

    if response.lower() == 'y':
        print('Resetting database')
        base.metadata.drop_all()
        base.metadata.create_all()
