summaryrefslogtreecommitdiff
path: root/lib/stwcs/gui/delete_headerlet.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stwcs/gui/delete_headerlet.py')
-rw-r--r--lib/stwcs/gui/delete_headerlet.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/stwcs/gui/delete_headerlet.py b/lib/stwcs/gui/delete_headerlet.py
index 96d3ed1..b3df5a7 100644
--- a/lib/stwcs/gui/delete_headerlet.py
+++ b/lib/stwcs/gui/delete_headerlet.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
import os
from stsci.tools import teal
@@ -34,11 +35,11 @@ def run(configObj=None):
if configObj['hdrname'] == '' and configObj['hdrext'] is None and \
configObj['distname'] == '':
- print '='*60
- print 'ERROR:'
- print ' No valid "hdrname", "hdrext" or "distname" parameter value provided!'
- print ' Please restart this task and provide a value for one of these parameters.'
- print '='*60
+ print('='*60)
+ print('ERROR:')
+ print(' No valid "hdrname", "hdrext" or "distname" parameter value provided!')
+ print(' Please restart this task and provide a value for one of these parameters.')
+ print('='*60)
return
filename = parseinput.parseinput(configObj['filename'])[0]
# Call function with properly interpreted input parameters