Author: jkupec Date: Tue Jun 3 11:28:33 2008 New Revision: 10325 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10325&view=rev Log: - remove upper priority limit Modified: trunk/zypper/src/zypper-repos.cc Modified: trunk/zypper/src/zypper-repos.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-repos.cc?rev=10325&r1=10324&r2=10325&view=diff ============================================================================== --- trunk/zypper/src/zypper-repos.cc (original) +++ trunk/zypper/src/zypper-repos.cc Tue Jun 3 11:28:33 2008 @@ -1634,9 +1634,10 @@ string prio_str = *tmp1->second.begin(); safe_lexical_cast(prio_str, prio); // try to make an int out of the string - if (prio < 1 || prio > 99) + if (prio < 1) { zypper.out().error(boost::str(format( + //! \todo Don't tell about the upper limit and use %d instead of number. _("Invalid priority '%s'. Use an integer number between 1 (highest priority) and 99 (lowest priority).")) % prio_str)); zypper.setExitCode(ZYPPER_EXIT_ERR_INVALID_ARGS); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org