Skip to content

Commit

Permalink
[cfgm_common] Fix generation of greenlet introspect page
Browse files Browse the repository at this point in the history
Change-Id: I0d4beea481962f696c0e71ecaf02773b6c069818
Closes-bug: #1567293
  • Loading branch information
Édouard Thuleau committed Apr 7, 2016
1 parent 081bc46 commit 4edad84
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/config/common/vnc_greenlets.py
Expand Up @@ -8,7 +8,7 @@
from pysandesh.sandesh_logger import *
from pysandesh.gen_py.sandesh.ttypes import SandeshLevel

from cfgm_common.uve.greenlets import ttypes as sandesh
from cfgm_common.uve.greenlets import ttypes as sandesh
import gc
import gevent
import traceback
Expand Down Expand Up @@ -63,11 +63,9 @@ def sandesh_greenlet_object_handle_request(self, req):
greenlet_resp.greenlets.append(sandesh_greenlet)

if anonymous_cnt > 0:
greenlet_resp.greenlets.append(VncGreenlet(
build_greenlet_sandesh(
'Anonymous',
'Not Applicable',
anonymous_cnt)))
sandesh_greenlet = VncGreenlet.build_greenlet_sandesh(
'Anonymous', 'Not Applicable', anonymous_cnt)
greenlet_resp.greenlets.append(sandesh_greenlet)
greenlet_resp.response(req.context())
#end sandesh_greenlet_object_handle_request
# end class VncGreenlet

0 comments on commit 4edad84

Please sign in to comment.