Skip to content

Commit

Permalink
Merge pull request #3 from dwhswenson/fix_version_checks
Browse files Browse the repository at this point in the history
Fix to error msg in version_checks.consistency
  • Loading branch information
dwhswenson authored Oct 19, 2017
2 parents ef37254 + 5f7f4ab commit 66a8e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autorelease/version_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ def consistency(self, desired_version=None, include_package=False,
for key in keys_to_check:
test = self._version(self.versions[key], strictness)
if test != desired:
error_keys += key
error_keys += [key]

# make the error message
msg = ""
for key in error_keys:
msg += "Error: desired {d} != {v} ({k})\n".format(
d=str(desired),
v=str(self._convert_version(self.versions[key], strictness)),
v=str(self.versions[key]),
k=str(key)
)
return msg
Expand Down

0 comments on commit 66a8e37

Please sign in to comment.