aboutsummaryrefslogtreecommitdiff
path: root/rambo/meta.py
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2018-05-04 08:46:20 -0400
committerGitHub <noreply@github.com>2018-05-04 08:46:20 -0400
commitc996e55d4023cf5ece8a56b1a7de0dd1a690a5f6 (patch)
tree76300da5c345aa67cf305ea4a0c8b802b1054e87 /rambo/meta.py
parentea8bcba10d429c226d3600b4d771f210b6e9d5f7 (diff)
parentee69b2792e3ca2786a8a0643b2e376a24e18195b (diff)
downloadrambo-c996e55d4023cf5ece8a56b1a7de0dd1a690a5f6.tar.gz
Merge pull request #10 from rendinam/refac_return
Fix return value from new method
Diffstat (limited to 'rambo/meta.py')
-rwxr-xr-xrambo/meta.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/rambo/meta.py b/rambo/meta.py
index 2f563b2..b71d6f8 100755
--- a/rambo/meta.py
+++ b/rambo/meta.py
@@ -257,9 +257,10 @@ class MetaSet(object):
GIT_DESCRIBE_TAG=gd_tag,
GIT_DESCRIBE_NUMBER=gd_number,
GIT_DESCRIBE_HASH=gd_hash)
- return safe_load(output)
+ fastyaml = safe_load(output)
except(KeyError):
print('no source field in recipe: {}'.format(pkgname))
+ return fastyaml
def read_recipe_selection(self, directory, recipe_list):
'''Process a directory, reading in each conda recipe found, creating
@@ -301,14 +302,16 @@ class MetaSet(object):
except:
rundep_names = ''
# TODO INFO
- print('"Incomplete" metadata. No run requirements.')
+ print('"Incomplete" metadata for {}. No run requirements.'.format(
+ rdirname))
try:
blddep_names = [x.split()[0] for x in
fastyaml['requirements']['build']]
except:
blddep_names = ''
- print('"Incomplete" metadata. No build requirements.')
+ print('"Incomplete" metadata for {}. No build requirements.'.format(
+ rdirname))
# If filter-nonpy specified, skip all recipes that have a python
# dependency.