aboutsummaryrefslogtreecommitdiff
path: root/rambo.py
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-04-18 15:46:23 -0400
committerMatt Rendina <mrendina@stsci.edu>2017-04-18 15:46:23 -0400
commitd3be14736ed43ab9533085e6eda2c6151f71a6b3 (patch)
tree0df39877e3c2a63ce50e7cefeebd31aad49f9a32 /rambo.py
parent6b54e22f3ac89586956a5a61519294e339b2260d (diff)
downloadrambo-d3be14736ed43ab9533085e6eda2c6151f71a6b3.tar.gz
Adjust for python2 compatibility
Diffstat (limited to 'rambo.py')
-rwxr-xr-xrambo.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/rambo.py b/rambo.py
index 18510aa..55b4f00 100755
--- a/rambo.py
+++ b/rambo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
'''
RAMBO - Recipe Analyzer and Multi-package Build Optimizer
@@ -6,12 +6,13 @@ RAMBO - Recipe Analyzer and Multi-package Build Optimizer
Requires conda to be installed on the PATH in order to access the API
machinery via 'conda_build.api.
'''
-
+from __future__ import print_function
import os
import sys
from copy import deepcopy
import argparse
-import urllib.request
+#import urllib.request
+from six.moves import urllib
import codecs
from yaml import safe_load
import json