Hi,

On Fri, 01 Apr 2016 17:49:50 +0200 Johannes Schauer <[email protected]> wrote:
> Thus I see two ways forward:
> 
>  1. add the below patch to fix this version
>  2. package the new upstream release 1.3
> 
> The patch is:
> 
> --- a/pygraphviz/agraph.py
> +++ b/pygraphviz/agraph.py
> @@ -948,9 +948,8 @@
>  
>      def clear(self):
>          """Remove all nodes, edges, and attributes from the graph."""
> -        self.edge_attr.clear()
> -        self.node_attr.clear()
> -        self.graph_attr.clear()
> +        self.remove_edges_from(self.edges())
> +        self.remove_nodes_from(self.nodes())
>          # now "close" existing graph and create a new graph
>          name = gv.agnameof(self.handle)
>          strict = self.strict

since this bug saw no action for 16 days, I made an NMU to delayed/10 with
above patch.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to