diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/pycallgraph/files | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pycallgraph/files')
-rw-r--r-- | dev-python/pycallgraph/files/python3.3-tests.patch | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/dev-python/pycallgraph/files/python3.3-tests.patch b/dev-python/pycallgraph/files/python3.3-tests.patch deleted file mode 100644 index 90f31a09ce4b..000000000000 --- a/dev-python/pycallgraph/files/python3.3-tests.patch +++ /dev/null @@ -1,87 +0,0 @@ -diff --git a/pycallgraph/config.py b/pycallgraph/config.py -index 5911fef..e3492c1 100755 ---- a/pycallgraph/config.py -+++ b/pycallgraph/config.py -@@ -34,7 +34,7 @@ class Config(object): - self.did_init = True - - # Update the defaults with anything from kwargs -- [setattr(self, k, v) for k, v in kwargs.iteritems()] -+ [setattr(self, k, v) for k, v in kwargs.items()] - - self.create_parser() - -diff --git a/pycallgraph/output/graphviz.py b/pycallgraph/output/graphviz.py -index 6f10049..d130d65 100644 ---- a/pycallgraph/output/graphviz.py -+++ b/pycallgraph/output/graphviz.py -@@ -148,7 +148,7 @@ class GraphvizOutput(Output): - - def attrs_from_dict(self, d): - output = [] -- for attr, val in d.iteritems(): -+ for attr, val in d.items(): - output.append('%s = "%s"' % (attr, val)) - return ', '.join(output) - -@@ -164,7 +164,7 @@ class GraphvizOutput(Output): - - def generate_attributes(self): - output = [] -- for section, attrs in self.graph_attributes.iteritems(): -+ for section, attrs in self.graph_attributes.items(): - output.append('{} [ {} ];'.format( - section, self.attrs_from_dict(attrs), - )) -diff --git a/pycallgraph/output/output.py b/pycallgraph/output/output.py -index 9660d58..48eef49 100644 ---- a/pycallgraph/output/output.py -+++ b/pycallgraph/output/output.py -@@ -16,14 +16,14 @@ class Output(object): - self.edge_label_func = self.edge_label - - # Update the defaults with anything from kwargs -- [setattr(self, k, v) for k, v in kwargs.iteritems()] -+ [setattr(self, k, v) for k, v in kwargs.items()] - - def set_config(self, config): - ''' - This is a quick hack to move the config variables set in Config into - the output module config variables. - ''' -- for k, v in config.__dict__.iteritems(): -+ for k, v in config.__dict__.items(): - if hasattr(self, k) and callable(getattr(self, k)): - continue - setattr(self, k, v) -diff --git a/pycallgraph/tracer.py b/pycallgraph/tracer.py -index 17e9286..74a1477 100644 ---- a/pycallgraph/tracer.py -+++ b/pycallgraph/tracer.py -@@ -297,7 +297,7 @@ class TraceProcessor(Thread): - grp = defaultdict(list) - for node in self.nodes(): - grp[self.group(node.name)].append(node) -- for g in grp.iteritems(): -+ for g in grp.items(): - yield g - - def stat_group_from_func(self, func, calls): -@@ -315,14 +315,14 @@ class TraceProcessor(Thread): - return stat_group - - def nodes(self): -- for func, calls in self.func_count.iteritems(): -+ for func, calls in self.func_count.items(): - yield self.stat_group_from_func(func, calls) - - def edges(self): -- for src_func, dests in self.call_dict.iteritems(): -+ for src_func, dests in self.call_dict.items(): - if not src_func: - continue -- for dst_func, calls in dests.iteritems(): -+ for dst_func, calls in dests.items(): - edge = self.stat_group_from_func(dst_func, calls) - edge.src_func = src_func - edge.dst_func = dst_func |