mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Patch for Python 2.6
This commit is contained in:
2
thirdparty/xdot/xdot.py
vendored
2
thirdparty/xdot/xdot.py
vendored
@@ -39,7 +39,7 @@ import cairo
|
||||
import pango
|
||||
import pangocairo
|
||||
|
||||
if sys.version_info.major > 2:
|
||||
if sys.version_info >= (3, 0):
|
||||
xrange = range
|
||||
|
||||
# See http://www.graphviz.org/pub/scm/graphviz-cairo/plugin/cairo/gvrender_cairo.c
|
||||
|
||||
Reference in New Issue
Block a user