Skip to content

Commit

Permalink
Revert commit 9c4e91e because what it tried to fix was already fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Oct 12, 2015
1 parent c6f2911 commit a2b3fad
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spyderlib/utils/programs.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,6 @@ def check_version(actver, version, cmp_op):
if isinstance(actver, tuple):
actver = '.'.join([str(i) for i in actver])

# The following adds support for versions like 0.9.4-1
if re.match(r'\d*\.\d*(\.\d*)?\-(\d*)', actver):
actver = ".".join(actver.split('-'))

# Hacks needed so that LooseVersion understands that (for example)
# version = '3.0.0' is in fact bigger than actver = '3.0.0rc1'
if is_stable_version(version) and not is_stable_version(actver) and \
Expand Down

0 comments on commit a2b3fad

Please sign in to comment.