From 5d588a52bdacba1a901bfd1ae0e6f00c6f8742b3 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 25 Oct 2011 09:49:08 +0200 Subject: test --- src/meetingtools/apps/room/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py index 7229dd5..a97352a 100644 --- a/src/meetingtools/apps/room/views.py +++ b/src/meetingtools/apps/room/views.py @@ -265,7 +265,9 @@ def _import_room(request,acc,r): r['host_count'] = int(userlist.et.xpath("count(.//userdetails/role[text() = 'host'])")) modified = True - #logging.debug(pformat(room)) + logging.debug("----------") + logging.debug(pformat(room)) + logging.debug(pformat(r)) if r.has_key('urlpath'): r['urlpath'] = r['urlpath'].strip('/') @@ -277,8 +279,6 @@ def _import_room(request,acc,r): setattr(room,key,r[key]) modified = True - #logging.debug(pformat(room)) - if not room.name: room.delete() return None -- cgit v1.1