Commits

Ned Batchelder committed 8990640

A better way to figure out that the version number has a letter in it.

  • Participants
  • Parent commits 65a2e4b

Comments (0)

Files changed (1)

File coverage/__init__.py

 __version__ = "3.5a1"     # see detailed history in CHANGES.txt
 
 __url__ = "http://nedbatchelder.com/code/coverage"
-if max(__version__) in "abc":
+if max(__version__).isalpha():
     # For pre-releases, use a version-specific URL.
     __url__ += "/" + __version__