Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Minor Simplification #2

Merged
merged 1 commit into from

2 participants

@sigmavirus24

First thing to jump out at me, I changed.

@sigmavirus24 sigmavirus24 Minor simplification.
First thing to jump out at me I changed.
bb26e03
@sirvaliance sirvaliance merged commit eec02b2 into cryptodotis:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 6, 2011
  1. @sigmavirus24

    Minor simplification.

    sigmavirus24 authored
    First thing to jump out at me I changed.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 6 deletions.
  1. +2 −6 setup.py
View
8 setup.py
@@ -22,12 +22,8 @@
if not hasattr(sys, 'version_info') or sys.version_info < (2, 0, 0):
print "Sorry, but I require Python 2.0 or higher."
sys.exit(1)
-if sys.version_info[:3] == (2,1,0):
- print "Python 2.1.0 has known bugs that keep Mixminion from working."
- print "Maybe you should upgrade to 2.1.3 or some more recent version."
- sys.exit(1)
-if sys.version_info[:3] == (2,1,1):
- print "Python 2.1.1 has known bugs that keep Mixminion from working."
+if sys.version_info[:3] == (2,1,0) or sys.version_info == (2,1,1):
+ print "Python 2.1.%d has known bugs that keep Mixminion from working."%sys.version_info[2]
print "Maybe you should upgrade to 2.1.3 or some more recent version."
sys.exit(1)
Something went wrong with that request. Please try again.