Skip to content

Commit 3aee381

Browse files
committed
Bring back block to prevent install on anything other than 2.7
1 parent eb0472a commit 3aee381

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626

2727
import sys
2828

29-
# if sys.version_info[:2] != (2, 7):
30-
# print 'Error: Sentry requires Python 2.7'
31-
# sys.exit(1)
29+
if sys.version_info[:2] != (2, 7):
30+
print 'Error: Sentry requires Python 2.7'
31+
sys.exit(1)
3232

3333
import os
3434
import json

0 commit comments

Comments
 (0)