Files
munki/code/Managed Software Update
Justin McWilliams 12447c8e74 Managed Software Update/munki.py:trimVersionString() enhancement.
Instead of stripping x parts off the tuple, simply trim all lone trailing 0's from the version.

    Examples:
      10.0.0.0 -> 10.0
      10.0.0.1 -> 10.0.0.1
      10.0.0.1.0.0 -> 10.0.0.1
      10.0.0-abc1 -> 10.0.0-abc1
      10.0.0-abc1.0 -> 10.0.0-abc1



git-svn-id: http://munki.googlecode.com/svn/trunk@793 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-14 17:39:57 +00:00
..