Beispiel #1
0
 def _draw_real(self, q, evt):
     new_widget = WrappedDotWidget()
     self._somethingnew = False
     dotcode = "graph G {%s}" % "\n".join(self.nodos_code)
     new_widget.set_dotcode(dotcode)
     evt.set()
     q.put(new_widget)
Beispiel #2
0
 def _draw_real(self, q, evt):
     new_widget = WrappedDotWidget()
     self._somethingnew = False
     dotcode = "graph G {%s}" % "\n".join(self.nodos_code)
     new_widget.set_dotcode(dotcode)
     evt.set()
     q.put(new_widget)
Beispiel #3
0
    def _draw_real(self, q, evt):
        new_widget = WrappedDotWidget()
        self._somethingnew = False
        dotcode = "graph G {%s}" % "\n".join(self.nodos_code)

        try:
            new_widget.set_dotcode(dotcode)
        except ValueError, ve:
            msg = ('A ValueError exception with message "%s" was found while'
                   ' trying to render a new dotcode. Please create a new'
                   ' bug report at %s including the following info:\n\n%s')
            new_issue = 'https://github.com/andresriancho/w3af/issues/new'
            args = (ve, new_issue, dotcode)
            raise ValueError(msg % args)
Beispiel #4
0
 def _draw_real(self, q, evt):
     new_widget = WrappedDotWidget()
     self._somethingnew = False
     dotcode = "graph G {%s}" % "\n".join(self.nodos_code)
     
     try:
         new_widget.set_dotcode(dotcode)
     except ValueError, ve:
         msg = ('A ValueError exception with message "%s" was found while'
                ' trying to render a new dotcode. Please create a new'
                ' bug report at %s including the following info:\n\n%s')
         new_issue = 'https://github.com/andresriancho/w3af/issues/new'
         args = (ve, new_issue, dotcode)
         raise ValueError(msg % args)