import yumoter

yumoter = yumoter.yumoter('config/repos.json', '/home/aarwine/git/yumoter/repos')

yumoter.loadRepos("6.4", "wildwest")
a = yumoter._returnNewestByNameArch(["openssl"])
a = a[0]
'''
print a
print a.name
print a.arch
print a.epoch
print a.version
print a.release
print a.size
'''

b = yumoter.getDeps(a)

print "###"

for pkg in b:
	print "pkg", pkg
	for dep in b[pkg]:
		print "\t%s" % dep

import yumoter

yumoter = yumoter.yumoter('config/repos.json', '/home/aarwine/git/yumoter/repos')

yumoter.loadRepos("6.4", "wildwest")
a = yumoter._returnNewestByNameArch(["openssl"])
a = a[0]
'''
print a
print a.name
print a.arch
print a.epoch
print a.version
print a.release
print a.size
'''

b = yumoter.getDeps(a)

print "###"

for pkg in b:
	print pkg
	for dep in b[pkg]:
		print "\t%s" % dep

clean up output