From d3be14736ed43ab9533085e6eda2c6151f71a6b3 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Tue, 18 Apr 2017 15:46:23 -0400 Subject: Adjust for python2 compatibility --- rambo.py | 7 ++++--- 1 file 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 -- cgit