Skip to content

Commit

Permalink
copypasta error
Browse files Browse the repository at this point in the history
  • Loading branch information
bryevdv committed Mar 6, 2013
1 parent 1006509 commit a413061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda/planners.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ def _handle_meta_update(conda, pkgs):


def _default_constraint(spec):
if len(spec.name,spec.version.version) == 1:
if len(spec.version.version) == 1:
req = make_package_spec('%s %s' % spec.name,spec.version.version[0])
else:
req = make_package_spec('%s %s.%s' % (spec.name,spec.version.version[0], spec.version.version[1]))
Expand Down

0 comments on commit a413061

Please sign in to comment.