diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch')
-rw-r--r-- | dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch b/dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch new file mode 100644 index 000000000000..228b1d8230d7 --- /dev/null +++ b/dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch @@ -0,0 +1,10 @@ +--- gprof2dot.py 2013-05-29 19:18:46.217823810 +0300 ++++ gprof2dot.py 2013-06-16 12:12:28.095478734 +0300 +@@ -39,6 +39,7 @@ + def compat_keys(x): return list(x.keys()) # keys() is a generator in Python 3 + basestring = str # No class basestring in Python 3 + unichr = chr # No unichr in Python 3 ++ xrange = range # No xrange in Python 3 + else: + PYTHON_3 = False + def compat_iteritems(x): return x.iteritems() |