diff --git a/shutit.py b/shutit.py
index <HASH>..<HASH> 100755
--- a/shutit.py
+++ b/shutit.py
@@ -63,8 +63,8 @@ def main():
 	"""
 	# Create base shutit object.
 	shutit = shutit_global.shutit_global_object.shutit_objects[0]
-	if sys.version_info.major == 2:
-		if sys.version_info.minor < 7:
+	if sys.version_info[0] == 2:
+		if sys.version_info[1] < 7:
 			shutit.fail('Python version must be 2.7+') # pragma: no cover
 	shutit.setup_shutit_obj()
Moved from using sys.version_info.major and minor to use [0] and [1]