Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix argparse version check

  • Loading branch information...
commit 1b8fc4fc9e19962de87d5a3548a66997645e4671 1 parent 53a38cb
@juliantaylor authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  IPython/external/argparse/__init__.py
View
3  IPython/external/argparse/__init__.py
@@ -1,7 +1,8 @@
+from IPython.utils.version import check_version
try:
import argparse
# don't use system argparse if older than 1.1:
- if argparse.__version__ < '1.1':
+ if not check_version(argparse.__version__, '1.1'):
raise ImportError
else:
from argparse import *
Please sign in to comment.
Something went wrong with that request. Please try again.