Skip to content

Commit

Permalink
fixed a couple of type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
timbertson committed Jun 26, 2013
1 parent f9c9958 commit 83bdb4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zeroinstall_downstream/main.py
Expand Up @@ -53,7 +53,7 @@ def update(opts):
with open(opts.feed, 'r+') as file:
feed = Feed.from_file(file)
if not opts.just_info:
feed.add_implementation(version=opts.version)
feed.add_implementation(version_string=opts.version)
file.seek(0)
feed.save(file)

Expand Down Expand Up @@ -111,7 +111,8 @@ def check(opts):
if new_versions:
_list_versions(feed)
print ""
print "feed %s\nis missing an implementation for version %s" % (opts.feed, ", ".join(sorted(new_versions)))
new_upstream_versions = ", ".join(sorted([v.upstream for v in new_versions]))
print "feed %s\nis missing an implementation for version %s" % (opts.feed, new_upstream_versions)
return 1
else:
print "feed %s is up to date" % (opts.feed,)
Expand Down

0 comments on commit 83bdb4d

Please sign in to comment.