summaryrefslogtreecommitdiff
path: root/lib/stwcs/gui/archive_headerlet.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stwcs/gui/archive_headerlet.py')
-rw-r--r--lib/stwcs/gui/archive_headerlet.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/stwcs/gui/archive_headerlet.py b/lib/stwcs/gui/archive_headerlet.py
index 70dbc89..3cc29e3 100644
--- a/lib/stwcs/gui/archive_headerlet.py
+++ b/lib/stwcs/gui/archive_headerlet.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
import os
import string
@@ -35,11 +36,11 @@ def getHelpAsString(docstring=False):
def run(configObj=None):
if configObj['hdrname'] in ['',' ','INDEF']:
- print '='*60
- print 'ERROR:'
- print ' No valid "hdrname" parameter value provided!'
- print ' Please restart this task and provide a value for this parameter.'
- print '='*60
+ print('='*60)
+ print('ERROR:')
+ print(' No valid "hdrname" parameter value provided!')
+ print(' Please restart this task and provide a value for this parameter.')
+ print('='*60)
return
str_kw = ['wcsname','destim','sipname','npolfile','d2imfile',